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.
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:
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!