TrilonIO / aspnetcore-Vue-starter

*NEW* Asp.net Core & Vue.js (ES6) SPA Starter kit - Vuex, webpack, Web API, Docker, and more! By @TrilonIO
https://www.trilon.io
MIT License
1.22k stars 266 forks source link

Is script "build:dev" missing? #110

Open DmitrijOkeanij opened 5 years ago

DmitrijOkeanij commented 5 years ago

It is begginer question.

Trying to build and run in dev mode but failed. I added this script "build:dev": "cross-env NODE_ENV=development webpack --progress", and build it, all goes fine.

Really this script is missing, and any professionals can add it manually, or there is another ways to build in dev mode that I am missing?

MarkPieszak commented 5 years ago

I think with just the regular dev script we have here, it should just be triggering all of that for you through dotnet. https://github.com/MarkPieszak/aspnetcore-Vue-starter/blob/master/content/package.json#L10

It definitely would be good to have that either way, sometimes you definitely have to force a webpack rebuild after all!