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?
```
pull/314/head
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> </template>
<script> <script>
import WangEditor from "wangEditor"; import WangEditor from "wangeditor";
import { ref, reactive, onMounted, onBeforeUnmount } from "vue"; import { ref, reactive, onMounted, onBeforeUnmount } from "vue";
export default { export default {
name: "editor", name: "editor",
@ -55,4 +55,4 @@ export default {
</script> </script>
<style> <style>
</style> </style>