I've used the default vue-cli to scaffold a Vue project. I'd like to use the Vue application in the context of a different HTML file.
I have a file called dashboard.html
is served by the application at localhost:8000. The Vue CLI serves everything at localhost:3000. My HTML file normally includes scripts from /public/scripts/
. Therefore, the Vue project should be included from /public/scripts/myproject.js
How would I configure my Vue project so that the actual files are generated into the location mentioned above and I'm able to use my custom HTML file? With a scenario like this, is it still possible to achieve hot-code reloading as the default Vue scaffolding provides?