osm-fr / osmose-frontend

Part of osmose that shows results on the website http://osmose.openstreetmap.fr
GNU General Public License v3.0
41 stars 38 forks source link

Vue is in development mode #323

Closed bbigras closed 3 years ago

bbigras commented 3 years ago

You are running Vue in development mode. Make sure to turn on production mode when deploying for production. See more tips at https://vuejs.org/guide/deployment.html

frodrigo commented 3 years ago

It build using

https://github.com/osm-fr/osmose-frontend/blob/master/web/package.json#L60

How do you see Vue JS is deployed on development mode?

bbigras commented 3 years ago

In the devtools' console:

image

frodrigo commented 3 years ago

Webpack mode is production, but not Vue JS.

Any help welcome.

cc @fansanelli

bbigras commented 3 years ago

Try setting NODE_ENV=production.

https://fr.vuejs.org/v2/guide/deployment.html