The import should be "wangeditor" instead of "wangEditor"

error when starting dev server:
```
Error: The following dependencies are imported but could not be resolved:

  wangEditor (imported by /home/zfn/vue-manage-system/src/views/Editor.vue)

Are they installed?
```
This commit is contained in:
zhufengning 2021-11-14 00:03:36 +08:00 committed by GitHub
parent 039c9c3da4
commit 8aeb8b006e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
</template>
<script>
import WangEditor from "wangEditor";
import WangEditor from "wangeditor";
import { ref, reactive, onMounted, onBeforeUnmount } from "vue";
export default {
name: "editor",
@ -55,4 +55,4 @@ export default {
</script>
<style>
</style>
</style>