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

2933 views vue.js

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


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

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


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

posted this

Have an answer?


Please login first before posting an answer.