WebSunyu / 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 demonstrates integration of a 3rd-party router. For an example using the raw HTML5 History API, see the master 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:JavaScript 46.4%Language:Vue 42.2%Language:HTML 11.4%