From a9c194578d52276b7e8160c02ecccf2a7fab4985 Mon Sep 17 00:00:00 2001 From: Chris Fritz Date: Fri, 18 Mar 2016 17:09:34 -0400 Subject: [PATCH] initial commit --- README.md | 30 ++++++++++++++++++++++++++ meta.json | 3 +++ template/index.html | 52 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 85 insertions(+) create mode 100644 README.md create mode 100644 meta.json create mode 100644 template/index.html diff --git a/README.md b/README.md new file mode 100644 index 0000000..328a50e --- /dev/null +++ b/README.md @@ -0,0 +1,30 @@ +# vue-simple-boilerplate + +> The simplest possible Vue setup in a single HTML file + +### Before You Start... + +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](https://github.com/vuejs-templates/). + +## Usage + +This is a project template for [vue-cli](https://github.com/vuejs/vue-cli). + +``` bash +$ 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 +``` + +### Fork It And Make Your Own + +You can [fork this repo](https://help.github.com/articles/fork-a-repo/) to create your own boilerplate, and use it with `vue-cli`: + +``` bash +vue init username/repo my-project +``` diff --git a/meta.json b/meta.json new file mode 100644 index 0000000..85b3b45 --- /dev/null +++ b/meta.json @@ -0,0 +1,3 @@ +{ + "schema": {} +} diff --git a/template/index.html b/template/index.html new file mode 100644 index 0000000..ae3d4e6 --- /dev/null +++ b/template/index.html @@ -0,0 +1,52 @@ + + + + Welcome to Vue + + + +
+ Vue logo +

{{ greeting }}

+ +
+ + + +