Skip to content

Commit 50fab71

Browse files
committed
docs: update branch to v4
1 parent aa3bd72 commit 50fab71

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+70
-70
lines changed

cli/templates.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ links:${primitive
188188
to: https://reka-ui.com/docs/components/${kebabName}`}
189189
- label: GitHub
190190
icon: i-simple-icons-github
191-
to: https://github.com/nuxt/${pro ? 'ui-pro' : 'ui'}/tree/v3/src/runtime/components/${upperName}.vue
191+
to: https://github.com/nuxt/${pro ? 'ui-pro' : 'ui'}/tree/v4/src/runtime/components/${upperName}.vue
192192
navigation.badge: Soon
193193
---
194194

docs/app/components/content/ComponentTheme.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const themeLink = computed(() => {
8383
const repo = props.pro ? 'ui-pro' : 'ui'
8484
const slug = name.startsWith('content') ? `content/${name}` : name
8585
86-
return `https://github.com/nuxt/${repo}/blob/v3/src/theme/${slug}.ts`
86+
return `https://github.com/nuxt/${repo}/blob/v4/src/theme/${slug}.ts`
8787
})
8888
8989
const { data: ast } = await useAsyncData(`component-theme-${camelName}-${hash({ props })}`, async () => {

docs/app/components/content/SupportedLanguages.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function getEmojiFlag(locale: string): string {
6666
</div>
6767
</div>
6868
</div>
69-
<ProseNote to="https://github.com/nuxt/ui/tree/v3/src/runtime/locale" target="_blank">
69+
<ProseNote to="https://github.com/nuxt/ui/tree/v4/src/runtime/locale" target="_blank">
7070
If you need additional languages, you can contribute by creating a PR to add a new locale in <ProseCode>src/runtime/locale/</ProseCode>.
7171
</ProseNote>
7272
<ProseTip>

docs/app/pages/[...slug].vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ if (route.path.startsWith('/components')) {
9999
const communityLinks = computed(() => [{
100100
icon: 'i-lucide-file-pen',
101101
label: 'Edit this page',
102-
to: `https://github.com/nuxt/${page.value?.module === 'ui-pro' ? 'ui-pro' : 'ui'}/edit/v3/docs/content/${page?.value?.stem}.md`,
102+
to: `https://github.com/nuxt/${page.value?.module === 'ui-pro' ? 'ui-pro' : 'ui'}/edit/v4/docs/content/${page?.value?.stem}.md`,
103103
target: '_blank'
104104
}, {
105105
icon: 'i-lucide-star',

docs/content/1.getting-started/3.theme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1086,7 +1086,7 @@ Tailwind Variants uses [`tailwind-merge`](https://github.com/dcastil/tailwind-me
10861086
You can explore the theme for each component in two ways:
10871087

10881088
- Check the `Theme` section in the documentation of each individual component.
1089-
- Browse the source code directly in the GitHub repository at [`v3/src/theme`](https://github.com/nuxt/ui/tree/v3/src/theme).
1089+
- Browse the source code directly in the GitHub repository at [`src/theme`](https://github.com/nuxt/ui/tree/v4/src/theme).
10901090
::
10911091

10921092
### Config

docs/content/1.getting-started/contribution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ We use [Conventional Commits](https://www.conventionalcommits.org/) for commit m
237237

238238
### Making a Pull Request
239239

240-
- Follow along the [instructions](https://github.com/nuxt/ui/blob/v3/.github/PULL_REQUEST_TEMPLATE.md?plain=1) provided when creating a PR
240+
- Follow along the [instructions](https://github.com/nuxt/ui/blob/v4/.github/PULL_REQUEST_TEMPLATE.md?plain=1) provided when creating a PR
241241

242242
- Ensure your PR's title adheres to the [Conventional Commits](https://www.conventionalcommits.org/) since it will be used once the code is merged.
243243

docs/content/2.composables/use-toast.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const toast = useToast()
1818
- When removing a toast, there's a 200ms delay before it's actually removed from the state, allowing for exit animations.
1919

2020
::warning
21-
Make sure to wrap your app with the [`App`](/components/app) component which uses our [`Toaster`](https://github.com/nuxt/ui/blob/v3/src/runtime/components/Toaster.vue) component which uses the [`ToastProvider`](https://reka-ui.com/docs/components/toast#provider) component from Reka UI.
21+
Make sure to wrap your app with the [`App`](/components/app) component which uses our [`Toaster`](https://github.com/nuxt/ui/blob/v4/src/runtime/components/Toaster.vue) component which uses the [`ToastProvider`](https://reka-ui.com/docs/components/toast#provider) component from Reka UI.
2222
::
2323

2424
::tip{to="/components/toast"}

docs/content/3.components/0.app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ category: layout
55
links:
66
- label: GitHub
77
icon: i-simple-icons-github
8-
to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/App.vue
8+
to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/App.vue
99
---
1010

1111
## Usage

docs/content/3.components/accordion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ links:
77
to: https://reka-ui.com/docs/components/accordion
88
- label: GitHub
99
icon: i-simple-icons-github
10-
to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Accordion.vue
10+
to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Accordion.vue
1111
---
1212

1313
## Usage

docs/content/3.components/alert.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ category: element
44
links:
55
- label: GitHub
66
icon: i-simple-icons-github
7-
to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Alert.vue
7+
to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Alert.vue
88
---
99

1010
## Usage

0 commit comments

Comments
 (0)