@wordup-md/nuxt-layer-shadcn-unocss 0.2.1 → 0.2.2
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/.cursor/rules/documentation-rule.mdc +58 -0
- package/.playground/app.config.ts +9 -9
- package/.playground/content/1.getting-started/2.writing/2.pages.md +2 -2
- package/.playground/content/2.content-elements/index.md +1 -0
- package/.playground/content/3.components/2.docs/alert.md +3 -3
- package/.playground/content/3.components/2.docs/badge.md +3 -3
- package/.playground/content/3.components/2.docs/button-link.md +5 -5
- package/.playground/content/3.components/2.docs/code-group.md +1 -1
- package/.playground/content/3.components/2.docs/code-snippet.md +1 -1
- package/.playground/content/3.components/2.docs/field-group.md +1 -1
- package/.playground/content/3.components/2.docs/field.md +1 -1
- package/.playground/content/3.components/2.docs/file-tree.md +1 -1
- package/.playground/content/3.components/2.docs/icon.md +2 -2
- package/.playground/content/3.components/2.docs/pm.md +1 -1
- package/.playground/content/3.components/2.docs/read-more.md +1 -1
- package/.playground/content/3.components/2.docs/shortcut.md +1 -1
- package/.playground/content/3.components/2.docs/stack.md +1 -1
- package/.playground/content/3.components/2.docs/steps.md +3 -3
- package/.playground/content/3.components/2.docs/tabs.md +1 -1
- package/.playground/content/3.components/3.page/accordion.md +1 -1
- package/.playground/content/3.components/3.page/card-group.md +1 -1
- package/.playground/content/3.components/3.page/card.md +3 -3
- package/.playground/content/3.components/3.page/collapsible.md +1 -1
- package/.playground/content/3.components/3.page/hero-alt.md +5 -5
- package/.playground/content/3.components/3.page/hero.md +3 -3
- package/.playground/content/3.components/3.page/team-card.md +1 -1
- package/.playground/content/4.development/1.configuration/1.overview.md +1 -1
- package/.playground/content/4.development/1.configuration/4.edit-link.md +1 -1
- package/.playground/content/4.development/1.configuration/5.banner.md +2 -2
- package/.playground/content/4.development/1.configuration/8.layouts.md +93 -0
- package/.playground/content/4.development/2.advanced/1.override.md +1 -1
- package/.playground/content/4.development/5.installation.md +1 -1
- package/.playground/content/_menu-footer.md +8 -1
- package/.playground/content/index.md +77 -30
- package/.playground/content/layout.md +67 -0
- package/.playground/content/test-card.md +1 -1
- package/.playground/content/test.md +2 -2
- package/.playground/content/test3.md +1 -1
- package/components/layout/Breadcrumb.vue +1 -0
- package/components/ui/badge/index.ts +1 -1
- package/content/index.md +2 -2
- package/i18n/i18n.config.ts +27 -0
- package/layouts/editorial.vue +11 -10
- package/lib/uno-preset.ts +2 -2
- package/package.json +12 -19
- package/public/content-doc.json +36 -36
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
---
|
|
2
|
+
description:
|
|
3
|
+
globs:
|
|
4
|
+
alwaysApply: false
|
|
5
|
+
---
|
|
6
|
+
# Documentation Rules
|
|
7
|
+
|
|
8
|
+
## Frontmatter Rule
|
|
9
|
+
|
|
10
|
+
When writing documentation in Markdown (.md) format, always include a YAML frontmatter block at the top of the file with the following fields:
|
|
11
|
+
|
|
12
|
+
- `title`: The document's title
|
|
13
|
+
- `description`: A concise summary of the document's purpose or content
|
|
14
|
+
- `icon`: A Lucide icon representing the document's theme or category, using the format `i-lucide:{name of the icon}`. You can choose any icon from [Lucide Icons](mdc:https:/lucide.dev/icons).
|
|
15
|
+
- Optional: `layout`, `header`, `navigation`, or any other fields required by your Nuxt Content setup.
|
|
16
|
+
|
|
17
|
+
Example:
|
|
18
|
+
|
|
19
|
+
```yaml
|
|
20
|
+
---
|
|
21
|
+
title: Project Brief
|
|
22
|
+
description: Foundation document outlining project requirements and goals
|
|
23
|
+
icon: i-lucide:file-text
|
|
24
|
+
---
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Content Structure
|
|
28
|
+
- Use **Markdown** for all documentation.
|
|
29
|
+
- Use **Nuxt Content** and **shadcn-vue** custom components/slots (e.g., `::hero`, `::steps`, `::prose-section`, `::card`, etc.) for rich, interactive docs.
|
|
30
|
+
- Follow **atomic design principles**: document from smallest (atoms) to largest (pages).
|
|
31
|
+
- Use **semantic headings** (`#`, `##`, `###`) for clear hierarchy.
|
|
32
|
+
- Use **code blocks** with language tags for all code samples.
|
|
33
|
+
- Use **alert**, **card**, and **steps** blocks for clarity and emphasis.
|
|
34
|
+
|
|
35
|
+
## Style and Accessibility
|
|
36
|
+
- Write in clear, concise, and accessible language.
|
|
37
|
+
- Use **ShadcnUI** and **Unocss** for all custom component styling.
|
|
38
|
+
- Ensure all docs are **responsive** and **accessible** (keyboard navigation, ARIA roles, color contrast).
|
|
39
|
+
- Prefer **mobile-first** examples and screenshots.
|
|
40
|
+
|
|
41
|
+
## Best Practices
|
|
42
|
+
- Keep documentation **modular**: one topic per file.
|
|
43
|
+
- Cross-link related docs using `[link text](mdc:path/to/doc)`.
|
|
44
|
+
- Document **all** composables, components, and utilities with usage examples.
|
|
45
|
+
- For every new feature or pattern, update the relevant Memory Bank file and reference it in the docs if appropriate.
|
|
46
|
+
- Use **versioned announcements** in the hero block for major releases.
|
|
47
|
+
|
|
48
|
+
## Project-Specific Conventions
|
|
49
|
+
- All documentation must align with the **Memory Bank** (projectbrief.md, productContext.md, etc.) for consistency.
|
|
50
|
+
- When documenting code, always use **TypeScript** examples and prefer interfaces over types.
|
|
51
|
+
- Avoid class-based or enum examples.
|
|
52
|
+
- Document both SSR and client-side usage patterns where relevant.
|
|
53
|
+
- For data fetching, explain when to use `useFetch`, `$fetch`, or `useAsyncData` (see rules in your repo-specific section).
|
|
54
|
+
|
|
55
|
+
## Updating Documentation
|
|
56
|
+
- When a new pattern, feature, or decision is made, update both the relevant Markdown doc and the Memory Bank.
|
|
57
|
+
- Use the **progress.md** file to track documentation status and known issues.
|
|
58
|
+
- If a doc is experimental or in progress, note this in the description.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export default defineAppConfig({
|
|
2
2
|
shadcnDocs: {
|
|
3
3
|
site: {
|
|
4
|
-
name: '
|
|
4
|
+
name: 'Shadcn Site',
|
|
5
5
|
description: 'Beautifully designed Nuxt Content template built with shadcn-vue and unocss.',
|
|
6
6
|
ogImage: '/hero.png',
|
|
7
7
|
ogImageComponent: 'ShadcnDocs',
|
|
@@ -19,13 +19,13 @@ export default defineAppConfig({
|
|
|
19
19
|
banner: {
|
|
20
20
|
enable: true,
|
|
21
21
|
showClose: true,
|
|
22
|
-
content: 'Welcome to **shadcn-
|
|
23
|
-
to: 'https://github.com/
|
|
22
|
+
content: 'Welcome to **shadcn-site-nuxt**',
|
|
23
|
+
to: 'https://github.com/wordup-md/nuxt-layer-shadcn-unocss',
|
|
24
24
|
target: '_blank',
|
|
25
25
|
border: true,
|
|
26
26
|
},
|
|
27
27
|
header: {
|
|
28
|
-
title: '
|
|
28
|
+
title: 'Shadcn Site',
|
|
29
29
|
showTitle: true,
|
|
30
30
|
logo: {
|
|
31
31
|
light: '/logo.svg',
|
|
@@ -38,7 +38,7 @@ export default defineAppConfig({
|
|
|
38
38
|
links: [{
|
|
39
39
|
title: 'Getting Started',
|
|
40
40
|
to: '/getting-started',
|
|
41
|
-
description: 'Start building your document with shadcn-
|
|
41
|
+
description: 'Start building your document with shadcn-site-nuxt',
|
|
42
42
|
icon: 'lucide:rocket',
|
|
43
43
|
}, {
|
|
44
44
|
title: 'Development',
|
|
@@ -97,7 +97,7 @@ export default defineAppConfig({
|
|
|
97
97
|
codeCopyToast: true,
|
|
98
98
|
editLink: {
|
|
99
99
|
enable: true,
|
|
100
|
-
pattern: 'https://github.com/
|
|
100
|
+
pattern: 'https://github.com/wordup-md/nuxt-layer-shadcn-unocss/edit/main/content/:path',
|
|
101
101
|
text: 'Edit this page',
|
|
102
102
|
icon: 'lucide:square-pen',
|
|
103
103
|
placement: ['pageFooter', 'toc'],
|
|
@@ -157,7 +157,7 @@ export default defineAppConfig({
|
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
159
|
icon: 'lucide:github',
|
|
160
|
-
to: 'https://github.com/
|
|
160
|
+
to: 'https://github.com/wordup-md/nuxt-layer-shadcn-unocss',
|
|
161
161
|
target: '_blank',
|
|
162
162
|
},
|
|
163
163
|
],
|
|
@@ -168,13 +168,13 @@ export default defineAppConfig({
|
|
|
168
168
|
links: [{
|
|
169
169
|
title: 'Star on GitHub',
|
|
170
170
|
icon: 'lucide:star',
|
|
171
|
-
to: 'https://github.com/
|
|
171
|
+
to: 'https://github.com/wordup-md/nuxt-layer-shadcn-unocss',
|
|
172
172
|
target: '_blank',
|
|
173
173
|
showLinkIcon: true,
|
|
174
174
|
}, {
|
|
175
175
|
title: 'Create Issues',
|
|
176
176
|
icon: 'lucide:circle-dot',
|
|
177
|
-
to: 'https://github.com/
|
|
177
|
+
to: 'https://github.com/wordup-md/nuxt-layer-shadcn-unocss/issues',
|
|
178
178
|
target: '_blank',
|
|
179
179
|
showLinkIcon: true,
|
|
180
180
|
}],
|
|
@@ -81,7 +81,7 @@ badges:
|
|
|
81
81
|
target: _blank
|
|
82
82
|
- value: Source
|
|
83
83
|
icon: lucide:code
|
|
84
|
-
to: https://github.com/
|
|
84
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss/blob/main/components/content/Alert.vue
|
|
85
85
|
target: _blank
|
|
86
86
|
|
|
87
87
|
authors:
|
|
@@ -105,7 +105,7 @@ badges:
|
|
|
105
105
|
- value: 0.8.10
|
|
106
106
|
- value: Source
|
|
107
107
|
icon: lucide:code
|
|
108
|
-
to: https://github.com/
|
|
108
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss/blob/main/components/content/FileTree.vue
|
|
109
109
|
target: _blank
|
|
110
110
|
```
|
|
111
111
|
::
|
|
@@ -7,7 +7,7 @@ badges:
|
|
|
7
7
|
target: _blank
|
|
8
8
|
- value: Source
|
|
9
9
|
icon: lucide:code
|
|
10
|
-
to: https://github.com/
|
|
10
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss/blob/main/components/content/Alert.vue
|
|
11
11
|
target: _blank
|
|
12
12
|
---
|
|
13
13
|
|
|
@@ -41,7 +41,7 @@ badges:
|
|
|
41
41
|
::alert{to="/getting-started/introduction" icon="lucide:rocket"}
|
|
42
42
|
An **internal link** alert.
|
|
43
43
|
::
|
|
44
|
-
::alert{to="https://github.com/
|
|
44
|
+
::alert{to="https://github.com/wordup-md/nuxt-layer-shadcn-unocss" target="_blank" icon="lucide:link"}
|
|
45
45
|
An **external link** alert.
|
|
46
46
|
::
|
|
47
47
|
::
|
|
@@ -49,7 +49,7 @@ badges:
|
|
|
49
49
|
::alert{to="/getting-started/introduction" icon="lucide:rocket"}
|
|
50
50
|
An **internal link** alert.
|
|
51
51
|
::
|
|
52
|
-
::alert{to="https://github.com/
|
|
52
|
+
::alert{to="https://github.com/wordup-md/nuxt-layer-shadcn-unocss" target="_blank" icon="lucide:link"}
|
|
53
53
|
An **external link** alert.
|
|
54
54
|
::
|
|
55
55
|
```
|
|
@@ -7,7 +7,7 @@ badges:
|
|
|
7
7
|
target: _blank
|
|
8
8
|
- value: Source
|
|
9
9
|
icon: lucide:code
|
|
10
|
-
to: https://github.com/
|
|
10
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss/blob/main/components/content/Badge.vue
|
|
11
11
|
target: _blank
|
|
12
12
|
---
|
|
13
13
|
|
|
@@ -109,12 +109,12 @@ badges:
|
|
|
109
109
|
|
|
110
110
|
::stack
|
|
111
111
|
::div{class="p-3"}
|
|
112
|
-
::badge{variant="outline" type="info" to="https://github.com/
|
|
112
|
+
::badge{variant="outline" type="info" to="https://github.com/wordup-md/nuxt-layer-shadcn-unocss" target="_blank"}
|
|
113
113
|
Link
|
|
114
114
|
::
|
|
115
115
|
::
|
|
116
116
|
```mdc
|
|
117
|
-
::badge{variant="outline" type="info" to="https://github.com/
|
|
117
|
+
::badge{variant="outline" type="info" to="https://github.com/wordup-md/nuxt-layer-shadcn-unocss" target="_blank"}
|
|
118
118
|
Link
|
|
119
119
|
::
|
|
120
120
|
```
|
|
@@ -7,7 +7,7 @@ badges:
|
|
|
7
7
|
target: _blank
|
|
8
8
|
- value: Source
|
|
9
9
|
icon: lucide:code
|
|
10
|
-
to: https://github.com/
|
|
10
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss/blob/main/components/content/ButtonLink.vue
|
|
11
11
|
target: _blank
|
|
12
12
|
- value: 0.6.5
|
|
13
13
|
---
|
|
@@ -19,10 +19,10 @@ badges:
|
|
|
19
19
|
::button-link{right-icon="lucide:arrow-up-right" to="/getting-started" target="_blank"}
|
|
20
20
|
Get Started
|
|
21
21
|
::
|
|
22
|
-
::button-link{left-icon="lucide:github" variant="outline" to="https://github.com/
|
|
22
|
+
::button-link{left-icon="lucide:github" variant="outline" to="https://github.com/wordup-md/nuxt-layer-shadcn-unocss" target="_blank"}
|
|
23
23
|
GitHub
|
|
24
24
|
::
|
|
25
|
-
::button-link{left-icon="lucide:ghost" variant="ghost" href="https://github.com/
|
|
25
|
+
::button-link{left-icon="lucide:ghost" variant="ghost" href="https://github.com/wordup-md/nuxt-layer-shadcn-unocss" blank}
|
|
26
26
|
Ghost
|
|
27
27
|
::
|
|
28
28
|
::
|
|
@@ -30,10 +30,10 @@ badges:
|
|
|
30
30
|
::button-link{right-icon="lucide:arrow-up-right" to="/getting-started" target="_blank"}
|
|
31
31
|
Get Started
|
|
32
32
|
::
|
|
33
|
-
::button-link{left-icon="lucide:github" variant="outline" to="https://github.com/
|
|
33
|
+
::button-link{left-icon="lucide:github" variant="outline" to="https://github.com/wordup-md/nuxt-layer-shadcn-unocss" target="_blank"}
|
|
34
34
|
GitHub
|
|
35
35
|
::
|
|
36
|
-
::button-link{left-icon="lucide:ghost" variant="ghost" href="https://github.com/
|
|
36
|
+
::button-link{left-icon="lucide:ghost" variant="ghost" href="https://github.com/wordup-md/nuxt-layer-shadcn-unocss" blank}
|
|
37
37
|
Ghost
|
|
38
38
|
::
|
|
39
39
|
```
|
|
@@ -10,7 +10,7 @@ badges:
|
|
|
10
10
|
target: _blank
|
|
11
11
|
- value: Source
|
|
12
12
|
icon: lucide:code
|
|
13
|
-
to: https://github.com/
|
|
13
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss/blob/main/components/content/CodeGroup.vue
|
|
14
14
|
target: _blank
|
|
15
15
|
---
|
|
16
16
|
|
|
@@ -5,7 +5,7 @@ badges:
|
|
|
5
5
|
- value: 0.8.11
|
|
6
6
|
- value: Source
|
|
7
7
|
icon: lucide:code
|
|
8
|
-
to: https://github.com/
|
|
8
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss/blob/main/components/content/CodeSnippet.vue
|
|
9
9
|
target: _blank
|
|
10
10
|
---
|
|
11
11
|
|
|
@@ -7,7 +7,7 @@ badges:
|
|
|
7
7
|
target: _blank
|
|
8
8
|
- value: Source
|
|
9
9
|
icon: lucide:code
|
|
10
|
-
to: https://github.com/
|
|
10
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss/blob/main/components/content/FieldGroup.vue
|
|
11
11
|
target: _blank
|
|
12
12
|
---
|
|
13
13
|
|
|
@@ -7,7 +7,7 @@ badges:
|
|
|
7
7
|
target: _blank
|
|
8
8
|
- value: Source
|
|
9
9
|
icon: lucide:code
|
|
10
|
-
to: https://github.com/
|
|
10
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss/blob/main/components/content/Field.vue
|
|
11
11
|
target: _blank
|
|
12
12
|
---
|
|
13
13
|
|
|
@@ -5,7 +5,7 @@ badges:
|
|
|
5
5
|
- value: 0.8.10
|
|
6
6
|
- value: Source
|
|
7
7
|
icon: lucide:code
|
|
8
|
-
to: https://github.com/
|
|
8
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss/blob/main/components/content/FileTree.vue
|
|
9
9
|
target: _blank
|
|
10
10
|
---
|
|
11
11
|
|
|
@@ -7,7 +7,7 @@ badges:
|
|
|
7
7
|
target: _blank
|
|
8
8
|
- value: Source
|
|
9
9
|
icon: lucide:code
|
|
10
|
-
to: https://github.com/
|
|
10
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss/blob/main/components/content/Icon.vue
|
|
11
11
|
target: _blank
|
|
12
12
|
---
|
|
13
13
|
|
|
@@ -91,4 +91,4 @@ You can put iconify icons, emojis and urls in `icon`. Smart icon will render the
|
|
|
91
91
|
|
|
92
92
|
::alert{to="https://github.com/nuxt-modules/icon" target="_blank"}
|
|
93
93
|
The icon component uses **Nuxt Icon** under the hood. Check out the usage guide from Nuxt Icon.
|
|
94
|
-
::
|
|
94
|
+
::
|
|
@@ -5,7 +5,7 @@ description: ''
|
|
|
5
5
|
badges:
|
|
6
6
|
- value: Source
|
|
7
7
|
icon: lucide:code
|
|
8
|
-
to: https://github.com/
|
|
8
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss/blob/main/components/content/PmInstall.vue
|
|
9
9
|
target: _blank
|
|
10
10
|
- value: 0.8.0
|
|
11
11
|
---
|
|
@@ -7,7 +7,7 @@ badges:
|
|
|
7
7
|
target: _blank
|
|
8
8
|
- value: Source
|
|
9
9
|
icon: lucide:code
|
|
10
|
-
to: https://github.com/
|
|
10
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss/blob/main/components/content/ReadMore.vue
|
|
11
11
|
target: _blank
|
|
12
12
|
---
|
|
13
13
|
|
|
@@ -7,7 +7,7 @@ badges:
|
|
|
7
7
|
target: _blank
|
|
8
8
|
- value: Source
|
|
9
9
|
icon: lucide:code
|
|
10
|
-
to: https://github.com/
|
|
10
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss/blob/main/components/content/Shortcut.vue
|
|
11
11
|
target: _blank
|
|
12
12
|
- value: 0.6.3
|
|
13
13
|
---
|
|
@@ -4,7 +4,7 @@ icon: lucide:rows-3
|
|
|
4
4
|
badges:
|
|
5
5
|
- value: Source
|
|
6
6
|
icon: lucide:code
|
|
7
|
-
to: https://github.com/
|
|
7
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss/blob/main/components/content/Stack.vue
|
|
8
8
|
target: _blank
|
|
9
9
|
- value: 0.6.2
|
|
10
10
|
---
|
|
@@ -4,7 +4,7 @@ icon: lucide:arrow-down-0-1
|
|
|
4
4
|
badges:
|
|
5
5
|
- value: Source
|
|
6
6
|
icon: lucide:code
|
|
7
|
-
to: https://github.com/
|
|
7
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss/blob/main/components/content/Steps.vue
|
|
8
8
|
target: _blank
|
|
9
9
|
---
|
|
10
10
|
|
|
@@ -28,7 +28,7 @@ badges:
|
|
|
28
28
|
::
|
|
29
29
|
|
|
30
30
|
::alert
|
|
31
|
-
Alternatively, you can clone or download the template from the [GitHub repo](https://github.com/
|
|
31
|
+
Alternatively, you can clone or download the template from the [GitHub repo](https://github.com/wordup-md/nuxt-layer-shadcn-unocss-starter).
|
|
32
32
|
::
|
|
33
33
|
|
|
34
34
|
### Install Dependencies
|
|
@@ -77,7 +77,7 @@ badges:
|
|
|
77
77
|
::
|
|
78
78
|
|
|
79
79
|
::alert
|
|
80
|
-
Alternatively, you can clone or download the template from the [GitHub repo](https://github.com/
|
|
80
|
+
Alternatively, you can clone or download the template from the [GitHub repo](https://github.com/wordup-md/nuxt-layer-shadcn-unocss-starter).
|
|
81
81
|
::
|
|
82
82
|
|
|
83
83
|
### Install Dependencies
|
|
@@ -7,7 +7,7 @@ badges:
|
|
|
7
7
|
target: _blank
|
|
8
8
|
- value: Source
|
|
9
9
|
icon: lucide:code
|
|
10
|
-
to: https://github.com/
|
|
10
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss/blob/main/components/content/Tabs.vue
|
|
11
11
|
target: _blank
|
|
12
12
|
---
|
|
13
13
|
|
|
@@ -4,7 +4,7 @@ icon: lucide:layout-list
|
|
|
4
4
|
badges:
|
|
5
5
|
- value: Source
|
|
6
6
|
icon: lucide:code
|
|
7
|
-
to: https://github.com/
|
|
7
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss/blob/main/components/content/Accordion.vue
|
|
8
8
|
target: _blank
|
|
9
9
|
- value: 0.5.0
|
|
10
10
|
---
|
|
@@ -7,7 +7,7 @@ badges:
|
|
|
7
7
|
target: _blank
|
|
8
8
|
- value: Source
|
|
9
9
|
icon: lucide:code
|
|
10
|
-
to: https://github.com/
|
|
10
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss/blob/main/components/content/CardGroup.vue
|
|
11
11
|
target: _blank
|
|
12
12
|
---
|
|
13
13
|
|
|
@@ -10,7 +10,7 @@ badges:
|
|
|
10
10
|
target: _blank
|
|
11
11
|
- value: Source
|
|
12
12
|
icon: lucide:code
|
|
13
|
-
to: https://github.com/
|
|
13
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss/blob/main/components/content/Card.vue
|
|
14
14
|
target: _blank
|
|
15
15
|
---
|
|
16
16
|
|
|
@@ -63,7 +63,7 @@ badges:
|
|
|
63
63
|
::div{class="p-4"}
|
|
64
64
|
::card
|
|
65
65
|
---
|
|
66
|
-
to: https://github.com/
|
|
66
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss
|
|
67
67
|
target: _blank
|
|
68
68
|
# showLinkIcon: false
|
|
69
69
|
---
|
|
@@ -78,7 +78,7 @@ badges:
|
|
|
78
78
|
```mdc
|
|
79
79
|
::card
|
|
80
80
|
---
|
|
81
|
-
to: https://github.com/
|
|
81
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss
|
|
82
82
|
target: _blank
|
|
83
83
|
# showLinkIcon: false
|
|
84
84
|
---
|
|
@@ -7,7 +7,7 @@ badges:
|
|
|
7
7
|
target: _blank
|
|
8
8
|
- value: Source
|
|
9
9
|
icon: lucide:code
|
|
10
|
-
to: https://github.com/
|
|
10
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss/blob/main/components/content/Collapsible.vue
|
|
11
11
|
target: _blank
|
|
12
12
|
- value: 0.5.8
|
|
13
13
|
---
|
|
@@ -4,7 +4,7 @@ icon: lucide:align-left
|
|
|
4
4
|
badges:
|
|
5
5
|
- value: Source
|
|
6
6
|
icon: lucide:code
|
|
7
|
-
to: https://github.com/
|
|
7
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss/blob/main/components/content/HeroAlt.vue
|
|
8
8
|
target: _blank
|
|
9
9
|
- value: 0.4.0
|
|
10
10
|
toc: false
|
|
@@ -25,7 +25,7 @@ toc: false
|
|
|
25
25
|
to: /getting-started
|
|
26
26
|
- name: GitHub
|
|
27
27
|
variant: ghost
|
|
28
|
-
to: https://github.com/
|
|
28
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss
|
|
29
29
|
---
|
|
30
30
|
|
|
31
31
|
#title
|
|
@@ -47,7 +47,7 @@ toc: false
|
|
|
47
47
|
to: /getting-started
|
|
48
48
|
- name: GitHub
|
|
49
49
|
variant: outline
|
|
50
|
-
to: https://github.com/
|
|
50
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss
|
|
51
51
|
leftIcon: 'lucide:github'
|
|
52
52
|
---
|
|
53
53
|
|
|
@@ -75,7 +75,7 @@ toc: false
|
|
|
75
75
|
to: /getting-started
|
|
76
76
|
- name: GitHub
|
|
77
77
|
variant: ghost
|
|
78
|
-
to: https://github.com/
|
|
78
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss
|
|
79
79
|
mobileRight: 'top' # 'top' | 'bottom'
|
|
80
80
|
---
|
|
81
81
|
|
|
@@ -101,7 +101,7 @@ toc: false
|
|
|
101
101
|
to: /getting-started
|
|
102
102
|
- name: GitHub
|
|
103
103
|
variant: ghost
|
|
104
|
-
to: https://github.com/
|
|
104
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss
|
|
105
105
|
mobileRight: 'top' # 'top' | 'bottom'
|
|
106
106
|
---
|
|
107
107
|
|
|
@@ -4,7 +4,7 @@ icon: lucide:align-center
|
|
|
4
4
|
badges:
|
|
5
5
|
- value: Source
|
|
6
6
|
icon: lucide:code
|
|
7
|
-
to: https://github.com/
|
|
7
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss/blob/main/components/content/Hero.vue
|
|
8
8
|
target: _blank
|
|
9
9
|
---
|
|
10
10
|
|
|
@@ -23,7 +23,7 @@ badges:
|
|
|
23
23
|
to: /getting-started
|
|
24
24
|
- name: GitHub
|
|
25
25
|
variant: outline
|
|
26
|
-
to: https://github.com/
|
|
26
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss
|
|
27
27
|
leftIcon: 'lucide:github'
|
|
28
28
|
---
|
|
29
29
|
|
|
@@ -46,7 +46,7 @@ badges:
|
|
|
46
46
|
to: /getting-started
|
|
47
47
|
- name: GitHub
|
|
48
48
|
variant: outline
|
|
49
|
-
to: https://github.com/
|
|
49
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss
|
|
50
50
|
leftIcon: 'lucide:github'
|
|
51
51
|
---
|
|
52
52
|
|
|
@@ -5,7 +5,7 @@ description: ''
|
|
|
5
5
|
badges:
|
|
6
6
|
- value: Source
|
|
7
7
|
icon: lucide:code
|
|
8
|
-
to: https://github.com/
|
|
8
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss/blob/main/components/content/TeamCard.vue
|
|
9
9
|
target: _blank
|
|
10
10
|
- value: 0.7.7
|
|
11
11
|
---
|
|
@@ -294,4 +294,4 @@ All configurable icons can be set to iconify icons, emojis and urls, using the [
|
|
|
294
294
|
|
|
295
295
|
## Default Config
|
|
296
296
|
|
|
297
|
-
:read-more{to="https://github.com/
|
|
297
|
+
:read-more{to="https://github.com/wordup-md/nuxt-layer-shadcn-unocss/blob/main/composables/useConfig.ts" title="source file" icon="lucide:code"}
|
|
@@ -12,7 +12,7 @@ export default defineAppConfig({
|
|
|
12
12
|
main: {
|
|
13
13
|
editLink: {
|
|
14
14
|
enable: true,
|
|
15
|
-
pattern: 'https://github.com/
|
|
15
|
+
pattern: 'https://github.com/wordup-md/nuxt-layer-shadcn-unocss/edit/main/content/:path',
|
|
16
16
|
text: 'Edit this page on GitHub',
|
|
17
17
|
icon: 'lucide:square-pen',
|
|
18
18
|
placement: ['pageFooter', 'toc'],
|
|
@@ -5,7 +5,7 @@ description: Show a banner on the top of the page.
|
|
|
5
5
|
badges:
|
|
6
6
|
- value: Source
|
|
7
7
|
icon: lucide:code
|
|
8
|
-
to: https://github.com/
|
|
8
|
+
to: https://github.com/wordup-md/nuxt-layer-shadcn-unocss/blob/main/components/layout/Banner.vue
|
|
9
9
|
target: _blank
|
|
10
10
|
- value: 0.8.3
|
|
11
11
|
---
|
|
@@ -18,7 +18,7 @@ export default defineAppConfig({
|
|
|
18
18
|
enable: true,
|
|
19
19
|
showClose: true,
|
|
20
20
|
content: 'Welcome to **shadcn-docs-nuxt**',
|
|
21
|
-
to: 'https://github.com/
|
|
21
|
+
to: 'https://github.com/wordup-md/nuxt-layer-shadcn-unocss',
|
|
22
22
|
target: '_blank',
|
|
23
23
|
border: true,
|
|
24
24
|
},
|