Home >Web Front-end >JS Tutorial >The initial construction process of the project in Vue (pictures and text)

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

不言
不言Original
2018-07-27 11:35:461700browse

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!

Statement:
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