magix-router
TypeScript icon, indicating that this package has built-in type declarations

0.0.29 • Public • Published

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

MIT

Copyright (c) 2018-2018 sprying

Readme

Keywords

Package Sidebar

Install

npm i magix-router

Weekly Downloads

1

Version

0.0.29

License

MIT

Unpacked Size

238 kB

Total Files

7

Last publish

Collaborators

  • sprying