创建一个项目

使用 vue-cli

建议使用脚手架项目vue-loadervue-cli:

  1. npm install -g vue-cli
  2. vue init webpack-simple hello-vue
  3. cd hello-vue
  4. npm install
  5. npm run dev # ready to go!