I'm currently using vue-cli
I have a need to modify the file path for main.js and other vue source files
Therefore, I attempted to make changes in build/webpack.base.conf.js
Here's a snippet of the code before the modification:
module.exports = {
entry: {
app: './src/main.js'
},
And here's how it looks after the change:
module.exports = {
entry: {
app: '../src/main.js'
},
I then tried to run:
npm run dev
However, it didn't work as expected and displayed the following error message:
...
The error indicates that certain dependencies were not found at the new path location. It suggests running npm install to resolve this issue.
How can I successfully alter the vue source path?
Your assistance is greatly appreciated!