Skip to content

Commit 8aeb8b0

Browse files
authored
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? ```
1 parent 039c9c3 commit 8aeb8b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/views/Editor.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
</template>
2222

2323
<script>
24-
import WangEditor from "wangEditor";
24+
import WangEditor from "wangeditor";
2525
import { ref, reactive, onMounted, onBeforeUnmount } from "vue";
2626
export default {
2727
name: "editor",
@@ -55,4 +55,4 @@ export default {
5555
</script>
5656

5757
<style>
58-
</style>
58+
</style>

0 commit comments

Comments
 (0)