Home > Web Front-end > JS Tutorial > body text

The initial construction process of the project in Vue (pictures and text)

不言
Release: 2018-07-27 11:35:46
Original
1676 people have browsed it

The content of this article is about the initial construction process of the project in Vue (pictures and texts). It has a good reference value and I hope it can help friends in need.

1. Check whether the environment is all installed successfully

2. Create the project

2.1. Open the dos command window and use the dos command to Go to the project folder:

2.2. Enter the command to create the project: vue init webpack myproject1

Create different packaging methods. First case:

Create different packaging methods Second case:

2.3. Start the project and enter the startup command in the project directory :npm start or npm run dev

The npm start startup command example is as follows:

npm start startup command result example is as follows:

The npm run dev startup command example is as follows:

npm run dev startup command result example As follows:

Related recommendations:

Vue and Mock.js work together to simulate login and implement addition, deletion, modification and query of tables

Summary of commonly used instructions in Vue

The above is the detailed content of The initial construction process of the project in Vue (pictures and text). 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!