Using Vue js 2.6.X and created with Vue-Cli 4.5.X using the command vue create name
A jsconfig.json file has been included in the root folder
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"],
"@/modules/*": ["./src/store/modules/*"]
}
},
"exclude": ["node_modules", "dist"],
"include": ["src/**/*"]
}
The @ alias is functioning correctly. I am able to use @/store/modules/...
However, the custom alias I added:
@/modules/*
seems to be causing an issue
This dependency was not found:
* @/modules/... in in ./node_modules/cache-loader/dist/cjs...
Any suggestions on how to resolve this? Existing resources don't seem tailored to the setup of Vue js and Vue-Cli....
I also suspect that @/* is part of the default Vue-Cli setup, so adding it might be redundant