1.0.16 • Published 5 months ago

@wiajs/router v1.0.16

Weekly downloads
2
License
ELv2
Repository
github
Last release
5 months ago

English | 简体中文

wia router

Introduction

wia router is the official router for wia.js. It deeply integrates with wia.js core to make building Multiple Page Applications with wia.js a breeze. Features include:

  • Nested route/view mapping
  • Page-based router No configuration
  • Dynamic loading of html, css, js
  • Route params, query, wildcards
  • Links with automatic active CSS classes
  • Hash mode

Build

You will need Node.js installed on your system.

First, install all required dependencies

$ npm install

To build development version:

$ npm run build-dev

The resulting files are:

  1. dist/router.common.js
  2. dist/router.common.map
  3. dist/router.esm.js
  4. dist/router.esm.map
  5. dist/router.umd.js
  6. dist/router.umd.map

To build production (minified) version:

$ npm run build

The resulting files are:

  1. dist/router.common.js
  2. dist/router.common.min.js
  3. dist/router.esm.js
  4. dist/router.esm.min.js
  5. dist/router.umd.js
  6. dist/router.min.js

use

  import Router from @wiajs/router

Stay In Touch

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

License

ELv2

Copyright (c) 2020-present Sibyl Yu

1.0.16

5 months ago

1.0.15

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.3

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

0.1.18

4 years ago

0.1.17

4 years ago

0.1.16

4 years ago

0.1.15

4 years ago

0.1.14

4 years ago

0.1.13

4 years ago

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago