@deneb-ui/create-template 2.0.62 → 2.0.63
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/package.json +1 -1
- package/template/README.md +5 -0
- package/template/package.json +2 -2
package/package.json
CHANGED
package/template/README.md
CHANGED
|
@@ -102,6 +102,11 @@ template-specific visual design, pass `renderProduct={(product, context) =>
|
|
|
102
102
|
the lower-level `usePlatformProductDetail()` hook. Always verify that the export
|
|
103
103
|
contains `products/detail/index.html`.
|
|
104
104
|
|
|
105
|
+
Strict validation requires this stable route whenever a `content.products`
|
|
106
|
+
catalog has product-detail navigation. If a native `/products/[id]` page also
|
|
107
|
+
exists, the stable page must reuse its renderer so products created after the
|
|
108
|
+
static build keep the same design.
|
|
109
|
+
|
|
105
110
|
Import hooks from `@/lib/siteDataContext` or `@deneb-ui/ui`:
|
|
106
111
|
|
|
107
112
|
```tsx
|
package/template/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"next": "15.5.23",
|
|
19
19
|
"react": "19.2.8",
|
|
20
20
|
"react-dom": "19.2.8",
|
|
21
|
-
"@deneb-ui/ui": "^2.0.
|
|
21
|
+
"@deneb-ui/ui": "^2.0.63"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@eslint/eslintrc": "3.3.6",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"eslint": "9.39.5",
|
|
29
29
|
"eslint-config-next": "15.5.23",
|
|
30
30
|
"typescript": "5.8.3",
|
|
31
|
-
"@deneb-ui/cli": "^2.0.
|
|
31
|
+
"@deneb-ui/cli": "^2.0.63",
|
|
32
32
|
"tailwindcss": "^3.4.17",
|
|
33
33
|
"postcss": "8.5.26",
|
|
34
34
|
"autoprefixer": "^10.4.20"
|