Answer the question
In order to leave comments, you need to log in
Imports in VUE CLI 3.0?
I import the component import ItemCard from '@/components/card/itemCard'
But I get this error
This dependency was not found:
...
To install it, you can run: npm install --save @/components/card/ItemCard
Answer the question
In order to leave comments, you need to log in
If the editor is from jetbrains (I tried it in webstorm), then in Settings| Languages & Frameworks | JavaScript | webpack you need to specify the path to the webpack config, in vue-cli-3 it is in node_modules/@vue/cli-service/webpack.config.js.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question