I'm using flask as my backend and Vue.js for my frontend. I created my VueJS project with vue-cli.
The way I have my project setup right now is that my backend is serving my static files. I, npm run build, and output the bundle files to my backend.
Everything works. It's just annoying to build every time.
I would like to re-compile my bundle every time I make changes to Vue. Is this possible? Modify my webpack?
Note: My project/flask is dockerized too.
npm run dev? It should watch files and build whenever the files are changed if it's defined in package.json. - Nathannpm run devbut I need to somehow point my backend to point at the non "bundle" file. I can't seem to find the entry point. There aindex.htmlwhen i created my app with thevue-clibut there no JS. - Woozzie