@nextworks/blocks-templates 0.2.0-alpha.2 → 0.2.0-alpha.4
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 -3
package/README.md
CHANGED
|
@@ -45,8 +45,10 @@ These templates assume:
|
|
|
45
45
|
If you installed via the `nextworks` CLI:
|
|
46
46
|
|
|
47
47
|
- Templates are copied into your app (router-native):
|
|
48
|
-
- App Router: `app/templates
|
|
49
|
-
- Pages Router:
|
|
48
|
+
- App Router: `app/templates/<template>/**`
|
|
49
|
+
- Pages Router:
|
|
50
|
+
- route entry file: `pages/templates/<template>/index.tsx`
|
|
51
|
+
- supporting template files: `components/templates/<template>/**`
|
|
50
52
|
- The CLI patches your router entrypoint to wire up providers, fonts, and CSS.
|
|
51
53
|
|
|
52
54
|
If you consume packages directly (advanced):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextworks/blocks-templates",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
3
|
+
"version": "0.2.0-alpha.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"build": "npx tsc -p tsconfig.json"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@nextworks/blocks-core": "0.2.0-alpha.
|
|
20
|
-
"@nextworks/blocks-sections": "0.2.0-alpha.
|
|
19
|
+
"@nextworks/blocks-core": "0.2.0-alpha.4",
|
|
20
|
+
"@nextworks/blocks-sections": "0.2.0-alpha.4",
|
|
21
21
|
"lucide-react": "^0.542.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|