gtalarico/flask-vuejs-template

Add info: NODE_ENV set by Vue.js CLI

djhuistra opened this issue · 2 comments

So far I have been very happy with the template, but it took me a long while to figure out why you used 'NODE_ENV' in the Vue.js client. It seemed like a magical variable that didn't get set.

I just figured out that the Vue.js CLI set's this variable to production when you run build.

I figured I could save others the trouble of discovering this by suggesting you document this behaviour somewhere :)

Thanks for the great work on the template!

Hi! Thanks for the note.
Happy to merge a PR if you want to do an edit on the Readme to include this.