Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 673 Bytes

README.md

File metadata and controls

27 lines (16 loc) · 673 Bytes

Vue 2.0 Simple Routing Example

A simple example of routing with Vue 2.0 without using vue-router. This branch uses the raw HTML5 History API. For an example integrating a 3rd-party routing solution, see the pagejs branch.

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# git status -s
# git add .
# git commit -m''
# git push origin master

For a detailed explanation of the build process, read the docs for vue-loader.