routexiz 0.0.20 → 0.0.21

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.
Files changed (2) hide show
  1. package/README.md +4 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -70,7 +70,8 @@ route(path, component, config?)
70
70
  <b>builder API</b>
71
71
 
72
72
  ```ts
73
- // dashboard
73
+ // home
74
+ // /dashboard
74
75
  route("/", Layout, root => {
75
76
  root.route("/dashboard", Dashboard, dash => {
76
77
  dash.guard(fn)
@@ -79,6 +80,8 @@ route("/", Layout, root => {
79
80
  })
80
81
  })
81
82
 
83
+ // admin
84
+ // admin/dashboard
82
85
  route("/addmin", Admin, root => {
83
86
  root.route("/dashboard", AdminDashboard, dash => {
84
87
  dash.guard(fn)
@@ -87,7 +90,6 @@ route("/addmin", Admin, root => {
87
90
  })
88
91
  })
89
92
 
90
- // admin/dashboard
91
93
  ```
92
94
 
93
95
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "routexiz",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "description": "Intent-based routing for React. Navigate by intent instead of URLs.",
5
5
  "author": "Delpi.Kye",
6
6
  "license": "MIT",