Production builds

Many CLI tools for web frameworks have the concept of production and development builds. The Vue CLI provides you with a script that produces highly optimized and minimized artifacts for distribution. Just run the build command, as shown in the following code:

npm run build

You can find the final bits you'll need in the dist folder. The dist folder contains everything you need in order to distribute or serve your web application:

Note that you don't need Vue.js or Node.js to run the application on a web server.

Let's move on and learn how to set up conditional loading so that our desktop application uses a web server for development but references the production output when distributing.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.91.153