Module not found: Error: Can't resolve in vuejs

2933 views vue.js
3

I want to create an open source template in the future, of course first I'm doing practice with mevn stack without using the vue cli and manually configuring webpack, but at this moment I am getting this error.

ERROR in ./src/app/main.js
Module not found: Error: Can't resolve './components/taskList.vue'

the link of github repository: folders of components

repository link

Can someone help me?

answered question

1 Answer

1

There is a typo there, in your main.js, you need to change

import TaskList from './components/taskList.vue';

to

import TaskList from './components/tasksList.vue';

posted this

Have an answer?

JD

Please login first before posting an answer.