-
-
Notifications
You must be signed in to change notification settings - Fork 33
Build environment
Charles de Beauchesne edited this page Apr 4, 2019
·
1 revision
Build environment
is a set of parameters that configure the UI build.
They are defined in vue.config.js
file on root directory, and parameters are available on front side, into the @/js/config
module.
npm run serve
This environment is the development environment. It comes with hot-reload feature : modify a file, save it, and you'll see your modification in live!. It uses by default demo API, and it's read-write.
npm run build:github
It's purpose is to be deployed on github pages.
This environment also checks bundles sizes on build step.
npm run build
The official build. Prod API, read-write, without API toogler.
- 🏠 Home
- 📋 Changelog
- 🛠️ Dev environment
- 🎉 Resolving issues
- 🤖 CI/CD
- 📝 Tech docs
- 🎓 Courses
- 🤓 Admin