Answer the question
In order to leave comments, you need to log in
How can I configure vue-cli to put files in the right folder when serving?
When executing npm run build
, the application is built for production into the ./dist folder. But with npm run serve
- webpack launches a local server and spins files there. Everything is cool, there is no access to them, but I need it.
I need to transfer finished files to other folders in the project. Every time I make a change in the code, I run the build and do what I need with the generated files through bash scripts.
Question: Is it possible to configure vue-cli so that when it executes serve, it puts files in a folder. So that you do not have to wait for the production assembly every time. In addition, they have to be done more than one in a row (don't ask). In principle, I do not even need a local server, so I would also like to turn it off. Searched and searched and did not find.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question