@happydesigns/ui 0.17.0 → 0.17.1
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 +6 -0
- package/app/layouts/content.vue +5 -5
- package/package.json +19 -2
package/README.md
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
# @happydesigns/ui
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@happydesigns/ui)
|
|
4
|
+
[](https://www.npmjs.com/package/@happydesigns/ui)
|
|
5
|
+
[](https://github.com/happydesigns/ui/actions/workflows/ci.yml)
|
|
6
|
+
|
|
3
7
|
Reusable Nuxt layer for happydesigns websites, docs sites, and product apps.
|
|
4
8
|
|
|
5
9
|
The package provides shared Nuxt setup, Nuxt UI conventions, content collection schemas, public `H*` components, composables, variants, and app config conventions. Projects extend the layer and keep project-specific routes, content, branding, and deployment settings in the project that owns them.
|
|
6
10
|
|
|
11
|
+
[npm](https://www.npmjs.com/package/@happydesigns/ui) · [npmx](https://npmx.dev/package/@happydesigns/ui) · [GitHub](https://github.com/happydesigns/ui)
|
|
12
|
+
|
|
7
13
|
## Installation
|
|
8
14
|
|
|
9
15
|
```bash
|
package/app/layouts/content.vue
CHANGED
|
@@ -41,12 +41,12 @@ const header = computed(() => resolvePageHeader(page.value))
|
|
|
41
41
|
|
|
42
42
|
<template>
|
|
43
43
|
<UContainer v-if="page">
|
|
44
|
-
<UPageHeader
|
|
45
|
-
v-if="hasHeader && header"
|
|
46
|
-
v-bind="header"
|
|
47
|
-
/>
|
|
48
|
-
|
|
49
44
|
<UPage :ui="pageUi">
|
|
45
|
+
<UPageHeader
|
|
46
|
+
v-if="hasHeader && header"
|
|
47
|
+
v-bind="header"
|
|
48
|
+
/>
|
|
49
|
+
|
|
50
50
|
<UPageBody>
|
|
51
51
|
<slot />
|
|
52
52
|
</UPageBody>
|
package/package.json
CHANGED
|
@@ -1,11 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happydesigns/ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.17.
|
|
4
|
+
"version": "0.17.1",
|
|
5
5
|
"private": false,
|
|
6
6
|
"packageManager": "pnpm@11.11.0",
|
|
7
|
+
"description": "A reusable Nuxt foundation for content-driven happydesigns websites and applications.",
|
|
7
8
|
"author": "happydesigns",
|
|
8
|
-
"homepage": "https://github.com/happydesigns",
|
|
9
|
+
"homepage": "https://github.com/happydesigns/ui#readme",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/happydesigns/ui.git"
|
|
13
|
+
},
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/happydesigns/ui/issues"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"nuxt",
|
|
19
|
+
"nuxt-layer",
|
|
20
|
+
"nuxt-ui",
|
|
21
|
+
"nuxt-content",
|
|
22
|
+
"vue",
|
|
23
|
+
"design-system",
|
|
24
|
+
"content-management"
|
|
25
|
+
],
|
|
9
26
|
"exports": {
|
|
10
27
|
".": "./nuxt.config.ts",
|
|
11
28
|
"./schemas": "./schemas/index.ts",
|