Home > Web Front-end > Vue.js > body text

How to compile and package vue.js project

王林
Release: 2020-11-30 16:56:03
Original
5150 people have browsed it

How to compile and package the vue.js project: 1. Execute the command [npm run build]; 2. Execute the command [npm install -g serve]; 3. Execute the command [serve dist].

How to compile and package vue.js project

The operating environment of this tutorial: Windows 10 system, Vue version 2.9.6. This method is suitable for all brands of computers.

(Learning video sharing: javascript video tutorial)

vue.js project compilation and packaging method:

1. Execute the command npm run build

2, execute the command npm install -g serve

3, execute the command serve dist

Related recommendations: vue.js tutorial

The above is the detailed content of How to compile and package vue.js project. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template