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
parent
039c9c3da4
commit
8aeb8b006e
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue