Vue project initiation
day01
Project configuration
Install Node. js and configure the environment for the four tools node/ NPM /webpack/ VUe-CLI. The configuration reference www.jianshu.com/p/c9876eb14…
If there is a new project error later, it has a lot to do with configuration
Create a new project in VS (project01)
vue init webpack project01
Remember to use the ‘CD’ command to enter the appropriate work range
-
Enter the first four
-
Enter y, n, n, n, and select NPM
- The project is built, and the purpose of each file is explained in the blog post above.
Run the project
Type NPM run dev (CD command to enter the appropriate project)