The simplest possible Vue setup in a single HTML file
This template is Vue 2.0 compatible. For Vue 1.x use this command:
vue init simple#1.0 my-project
This boilerplate is targeted at beginners who want to start exploring Vue without the distraction of a complicated development environment.
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.
This is a project template for vue-cli.
$ npm install -g vue-cli # Install vue-cli if you haven't already
$ vue init simple my-project # Create a new project based on this template
$ cd my-project # Navigate into your new project folder
$ npm install -g live-server # Install live-server if you haven't already
$ live-server # Run live-server and open it in your browser
You can fork this repo to create your own boilerplate, and use it with vue-cli
:
vue init username/repo my-project