chweez / vue-2.0-simple-routing-example

A simple example of routing with Vue 2.0 without using vue-router.

Home Page:http://vue-2-simple-routing-example.surge.sh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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

About

A simple example of routing with Vue 2.0 without using vue-router.

http://vue-2-simple-routing-example.surge.sh/


Languages

Language:Vue 46.0%Language:JavaScript 43.2%Language:HTML 10.8%