Michel Novellino
Michel Novellino

Reputation: 383

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

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?

Upvotes: 2

Views: 20833

Answers (1)

ittus
ittus

Reputation: 22403

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

Upvotes: 4

Related Questions