Closed langdonx closed 7 years ago
It could simplify things if there was a start
script in package.json. I think this is what a lot of folks are doing these days?
{ "start": "npm run build && npm run serve" }
Also, is there a way to get WebpackDevServer
to open the browser for us?
Go for it!
actually the 'build' part is not necessary for development, so i think you can simply switch 'serve' with 'start', no?
Haha, I'm not sure, this was partly me asking about the workflow and partly me trying help others with it.
I thought I ran into an error trying just serve, but I deleted dist/
and /docs
and ran it again and it seems OK.
Instructions for getting started
npm i
npm run serve
Instructions for after you've switched branches or merged from upstream
npm prune
npm i
npm run serve