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

Viewed 19367

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?

1 Answers

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';
                                       ^
Related