Skip to content

Commit

Permalink
The import should be "wangeditor" instead of "wangEditor"
Browse files Browse the repository at this point in the history
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?
```
  • Loading branch information
zhufengning authored Nov 13, 2021
1 parent 039c9c3 commit 8aeb8b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -55,4 +55,4 @@ export default {
</script>

<style>
</style>
</style>

0 comments on commit 8aeb8b0

Please sign in to comment.