소스 검색

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?
```
zhufengning 4 년 전
부모
커밋
8aeb8b006e
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/Editor.vue

+ 2 - 2
src/views/Editor.vue

@@ -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>