nuxt-typed-router 0.2.26 → 0.3.0
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/README.md +4 -2
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# 🚦Typed Router Module
|
|
2
2
|
|
|
3
|
+
## This is the docs for Nuxt 2 version
|
|
4
|
+
|
|
3
5
|
[![npm version][npm-version-src]][npm-version-href]
|
|
4
6
|
[![npm downloads][npm-downloads-src]][npm-downloads-href]
|
|
5
7
|
[![npm downloads][npm-total-downloads-src]][npm-downloads-href]
|
|
@@ -24,10 +26,10 @@ Solution: Thanks to Nuxt powerful hook system, this module reads all your routes
|
|
|
24
26
|
# Installation
|
|
25
27
|
|
|
26
28
|
```bash
|
|
27
|
-
yarn add -D nuxt-typed-router
|
|
29
|
+
yarn add -D nuxt-typed-router@legacy
|
|
28
30
|
|
|
29
31
|
#or
|
|
30
|
-
npm install -D nuxt-typed-router
|
|
32
|
+
npm install -D nuxt-typed-router@legacy
|
|
31
33
|
```
|
|
32
34
|
|
|
33
35
|
# Configuration
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-typed-router",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Provide autocompletion for pages route names generated by Nuxt router",
|
|
5
5
|
"main": "lib/module.js",
|
|
6
6
|
"keywords": [
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"dev": "tsc -p ./tsconfig.json --pretty --watch",
|
|
16
16
|
"build": "rimraf lib && rimraf types && tsc -p ./tsconfig.json --pretty",
|
|
17
17
|
"copy-files": "copyfiles -u 1 ./src/**/*.js ./lib",
|
|
18
|
-
"
|
|
18
|
+
"prepack": "yarn build",
|
|
19
|
+
"release": "npm publish --tag legacy",
|
|
19
20
|
"test": "jest",
|
|
20
21
|
"test:reset": "yarn test --updateSnapshot"
|
|
21
22
|
},
|