-
Notifications
You must be signed in to change notification settings - Fork 20
export default at vue component is marked as unused after update #30
Comments
👍 |
same issue. any progress on this? |
Due to Webstorm |
Same issue here. |
Same issue here
|
Same problem here. Has anyone found a fix? This is annoying. |
same issue here!! still no solution?? |
Same Here ! Is it just Webstorm or do other IDE have the same issue? |
I changed the reference to the component in my router/index.js from: to this: And it seems to be working fine. Hope that helps! |
this works |
This is not a solution, but a crutch is obtained as for complex projects to make a format ../../../../file/to/path/and/more/level/to/used/ Need Fixed. |
I use vue.config.js for this problem: const path = require('path');
module.exports = {
configureWebpack: {
resolve: {
alias: {
'~': path.resolve(__dirname, 'src/')
}
}
}
}; And use import as: import App from './App'
import router from '~/router'
import store from '~/store' P.S. Don't forget enable And invalidate cache |
This comment advices to tell your IDE where the webpack config is, but I am not able to find the mentioned /build path. But the solution is mentioned here:
|
Hello.
I updated Vue plugin to '172.3095.13' version.
After than, all 'export default' at component of Vue are marked to unused one.
All components have unit test, so they aren't unused one.
Thank you.
The text was updated successfully, but these errors were encountered: