vaderjs 1.3.3-alpha-32 → 1.3.3-alpha-33
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 +5 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -35,7 +35,9 @@ Tip: Each folder can be deep nested up to 4 levels!
|
|
|
35
35
|
```bash
|
|
36
36
|
/pages/index.jsx = /
|
|
37
37
|
/pages/home/[page].jsx = /home/:page
|
|
38
|
-
/pages/path/index.jsx = /path/
|
|
38
|
+
/pages/path/index.jsx = /path/
|
|
39
|
+
/pages/test/[...]/index.jsx = /path/test/*
|
|
40
|
+
/pages/route/[param1]/[param2].jsx = /path/route/:param1/:param2
|
|
39
41
|
```
|
|
40
42
|
Keyword folders - all files are passed from these folders to the `dist` folder
|
|
41
43
|
|
|
@@ -60,8 +62,8 @@ vader's compiler automatically handles routing so you wont need to! - it uses a
|
|
|
60
62
|
```bash
|
|
61
63
|
/pages/index.jsx = /
|
|
62
64
|
/pages/home/[page].jsx = /home/:page
|
|
63
|
-
/pages/path/index.jsx = /path/
|
|
64
|
-
|
|
65
|
+
/pages/path/index.jsx = /path/
|
|
66
|
+
/pages/path/[...].jsx = /path/*
|
|
65
67
|
|
|
66
68
|
```
|
|
67
69
|
For pages that have [params] you can derive it using this.request
|
package/package.json
CHANGED