Before today, I had never looked at or studied vue very systematically. This is also my first time trying to write a small application using vue
Now I’m starting to study the environment
The reference here is
Okay , here it prompts me to upgrade npm, it is now 5.0.3, it seems that it is not working
After the upgrade is completed, vue-cli is successfully installed
Then follow the official website prompts
vue init webpack my-project
Visually installed. . . Look at the directory
After switching the directory npm i in the console, npm run dev
The above is the detailed content of Try to write a small application using vue. For more information, please follow other related articles on the PHP Chinese website!