├── README.md ├── meta.json └── template └── index.html /README.md: -------------------------------------------------------------------------------- 1 | # vue-simple-boilerplate 2 | 3 | > The simplest possible Vue setup in a single HTML file 4 | 5 | > This template is Vue 2.0 compatible. For Vue 1.x use this command: `vue init simple#1.0 my-project` 6 | 7 | ### Before You Start... 8 | 9 | This boilerplate is targeted at beginners who want to start exploring Vue without the distraction of a complicated development environment. 10 | 11 | For advanced features such as asset compilation, hot-reload, lint-on-save, unit testing, and CSS extraction, we recommend that more experienced developers use one of the [other templates](https://github.com/vuejs-templates/). 12 | 13 | ## Usage 14 | 15 | This is a project template for [vue-cli](https://github.com/vuejs/vue-cli). 16 | 17 | ``` bash 18 | $ npm install -g vue-cli # Install vue-cli if you haven't already 19 | $ vue init simple my-project # Create a new project based on this template 20 | $ cd my-project # Navigate into your new project folder 21 | 22 | $ npm install -g live-server # Install live-server if you haven't already 23 | $ live-server # Run live-server and open it in your browser 24 | ``` 25 | 26 | ### Fork It And Make Your Own 27 | 28 | You can [fork this repo](https://help.github.com/articles/fork-a-repo/) to create your own boilerplate, and use it with `vue-cli`: 29 | 30 | ``` bash 31 | vue init username/repo my-project 32 | ``` 33 | -------------------------------------------------------------------------------- /meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema": {} 3 | } 4 | -------------------------------------------------------------------------------- /template/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Welcome to Vue 5 | 6 | 7 | 8 |
9 | Vue logo 10 |

\{{ greeting }}

11 | 31 |
32 | 33 | 51 | 52 | 53 | --------------------------------------------------------------------------------