vue-router 0,15,12,24,0,12,0,17 eslint flowtype circleci npm

The official router for Vue.js.

vue-router Build Status

This is vue-router 2.0 which works only with Vue 2.0. For the 1.x router see the 1.0 branch.

Introduction

vue-router is the official router for Vue.js. It deeply integrates with Vue.js core to make building Single Page Applications with Vue.js a breeze. Features include:

  • Nested route/view mapping
  • Modular, component-based router configuration
  • Route params, query, wildcards
  • View transition effects powered by Vue.js’ transition system
  • Fine-grained navigation control
  • Links with automatic active CSS classes
  • HTML5 history mode or hash mode, with auto-fallback in IE9
  • Customizable Scroll Behavior

Get started with the documentation, or play with the examples (see how to run them below).

Development Setup

# install deps
npm install

# build dist files
npm run build

# serve examples at localhost:8080
npm run dev

# lint & run all tests
npm test

# serve docs at localhost:4000 (requires global gitbook-cli)
npm run docs

Questions

For questions and support please use the Gitter chat room or the official forum. The issue list of this repo is exclusively for bug reports and feature requests.

Issues

Please make sure to read the Issue Reporting Checklist before opening an issue. Issues not conforming to the guidelines may be closed immediately.

Contribution

Please make sure to read the Contributing Guide before making a pull request.

Changelog

Details changes for each release are documented in the release notes.

Stay In Touch

  • For latest releases and announcements, follow on Twitter: @vuejs

License

MIT

Copyright © 2013-2016 Evan You

Related Repositories

vue-router

vue-router

The official router for Vue.js. ...

vue-hackernews-2.0

vue-hackernews-2.0

HackerNews clone built with Vue 2.0, vue-router & vuex, with server-side rendering ...

vue-sui-demo

vue-sui-demo

用vue 和 SUI-Mobile 写了一个移动端demo,用来反馈学习vue的成果(禁用了SUI自带的路由,使用vue-router, vue-resource, webpack)[a web app written by vue & sui-mobile] ...

jackblog-vue

jackblog-vue

Jackblog vue 版, 个人博客系统, 使用 vue, vuex, vue-resource, vue-router, vue-strap, vue-validator, vue-toastr 等. ...

vue-demo

vue-demo

Vue.js 示例项目 · 简易留言板。本项目拥有完善的文档说明与注释,让您快速上手 Vue.js 开发 SPA。Webpack / ES6 + Babel / Vue Router / Vue Resource / (Vue Validator ?) / (Vuex ?) —— An Excellent Vue Starter with Best Practice / 最佳实践 ...


Top Contributors

yyx990803 posva fnlctrl iWader ktsn LinusBorg adamturtle OriginalEXE phanan yolo2013

Dependencies

package version
dev babel-core ^6.24.1
babel-eslint ^7.2.3
babel-loader ^7.0.0
babel-plugin-syntax-dynamic-import ^6.18.0
babel-preset-es2015 ^6.24.1
babel-preset-flow-vue ^1.0.0
buble ^0.15.2
chromedriver ^2.21.2
cross-spawn ^5.0.1
css-loader ^0.28.0
es6-promise ^4.0.5
eslint ^3.0.1
eslint-plugin-flowtype ^2.34.0
eslint-plugin-vue-libs ^1.2.0
express ^4.14.0
express-urlrewrite ^1.2.0
flow-bin ^0.48.0
gitbook-plugin-edit-link ^2.0.2
gitbook-plugin-github ^3.0.0
jasmine 2.6.0
nightwatch ^0.9.5
nightwatch-helpers ^1.0.0
path-to-regexp ^1.5.3
phantomjs-prebuilt ^2.1.14
rollup ^0.43.0
rollup-plugin-buble ^0.15.0
rollup-plugin-commonjs ^8.0.2
rollup-plugin-flow-no-whitespace ^1.0.0
rollup-plugin-node-resolve ^3.0.0
rollup-plugin-replace ^1.1.1
rollup-watch ^4.0.0
selenium-server ^2.53.1
typescript ^2.0.3
uglify-js ^3.0.17
vue ^2.3.0
vue-loader ^12.0.2
vue-template-compiler ^2.3.0
webpack ^2.4.1
webpack-dev-middleware ^1.9.0

Releases

-   v2.0.0-rc.6 zip tar
-   v2.0.0-rc.5 zip tar
-   v2.0.0-rc.4 zip tar
-   v2.0.0-rc.3 zip tar
-   v2.0.0-rc.2 zip tar
-   v2.0.0-rc.1 zip tar
-   v2.0.0-beta.4 zip tar
-   v2.0.0-beta.3 zip tar
-   v2.0.0-beta.2 zip tar
-   v2.0.0-beta.1 zip tar
-   v0.7.13 zip tar
-   v0.7.12 zip tar
-   v0.7.11 zip tar
-   v0.7.10 zip tar
-   v0.7.9 zip tar
-   v0.7.8 zip tar
-   v0.7.7 zip tar
-   v0.7.6 zip tar
-   v0.7.5 zip tar
-   v0.7.4 zip tar
-   v0.7.3 zip tar
-   v0.7.2 zip tar
-   v0.7.1 zip tar
-   v0.7.0 zip tar
-   v0.6.2 zip tar
-   v0.6.1 zip tar
-   v0.6.0 zip tar
-   v0.5.2 zip tar
-   v0.5.1 zip tar
-   v0.5.0 zip tar