Home  >  Article  >  Web Front-end  >  Try to write a small application using vue

Try to write a small application using vue

零下一度
零下一度Original
2017-06-28 10:19:151390browse

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

Create a new project based on the webpack template

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!

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