kdu-router 3.5.4 → 4.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +2 -2
- package/README.md +10 -4
- package/dist/kdu-router.cjs.js +3484 -0
- package/dist/kdu-router.cjs.prod.js +2759 -0
- package/dist/kdu-router.d.ts +1349 -0
- package/dist/kdu-router.esm-browser.js +3460 -0
- package/dist/kdu-router.esm-bundler.js +3478 -0
- package/dist/kdu-router.global.js +3625 -0
- package/dist/kdu-router.global.prod.js +6 -0
- package/ketur/attributes.json +8 -14
- package/ketur/tags.json +2 -12
- package/package.json +77 -71
- package/dist/kdu-router.common.js +0 -3147
- package/dist/kdu-router.esm.browser.js +0 -3113
- package/dist/kdu-router.esm.browser.min.js +0 -11
- package/dist/kdu-router.esm.js +0 -3145
- package/dist/kdu-router.js +0 -3152
- package/dist/kdu-router.min.js +0 -11
- package/src/components/link.js +0 -224
- package/src/components/view.js +0 -155
- package/src/create-matcher.js +0 -226
- package/src/create-route-map.js +0 -220
- package/src/history/abstract.js +0 -72
- package/src/history/base.js +0 -379
- package/src/history/hash.js +0 -152
- package/src/history/html5.js +0 -99
- package/src/index.js +0 -293
- package/src/install.js +0 -52
- package/src/util/async.js +0 -18
- package/src/util/dom.js +0 -3
- package/src/util/errors.js +0 -86
- package/src/util/location.js +0 -69
- package/src/util/misc.js +0 -6
- package/src/util/params.js +0 -37
- package/src/util/path.js +0 -74
- package/src/util/push-state.js +0 -46
- package/src/util/query.js +0 -113
- package/src/util/resolve-components.js +0 -109
- package/src/util/route.js +0 -151
- package/src/util/scroll.js +0 -175
- package/src/util/state-key.js +0 -22
- package/src/util/warn.js +0 -14
- package/types/index.d.ts +0 -21
- package/types/kdu.d.ts +0 -22
- package/types/router.d.ts +0 -211
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -2,10 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
Get started with the [documentation](
|
|
5
|
+
Get started with the [documentation](https://kdujs-router.web.app).
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## Quickstart
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
- Via CDN: `<script src="https://unpkg.com/kdu-router@4"></script>`
|
|
10
|
+
- Add it to an existing Kdu Project:
|
|
11
|
+
```bash
|
|
12
|
+
npm install kdu-router@4
|
|
13
|
+
```
|
|
10
14
|
|
|
11
|
-
|
|
15
|
+
## Changes from Kdu Router 3
|
|
16
|
+
|
|
17
|
+
Please consult the [Migration Guide](https://kdujs-router.web.app/guide/migration/).
|