magix-router
v0.0.29
Published
router for Magix.js 3
Downloads
24
Readme
magix-router
This is magix-router which works only with Magix 3.0. Its realization mainly comes from vue-router.
Introduction
magix-router
is the router for maigx.js. It deeply integrates with Magix.js core to make building Single Page Applications with Magix.js a breeze. Features include:
- Nested route/view mapping
- Modular, view-based router configuration
- Route params, query, wildcards
- Fine-grained navigation control
- Links with automatic active CSS classes
- HTML5 history mode or hash mode, with auto-fallback in IE9
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
documatation
see https://sprying.github.io/magix-router/
License
Copyright (c) 2018-2018 sprying