diff --git a/apps/www/__registry__/index.ts b/apps/www/__registry__/index.ts
index 41a34aa4..da6737cc 100644
--- a/apps/www/__registry__/index.ts
+++ b/apps/www/__registry__/index.ts
@@ -570,6 +570,13 @@ export const Index = {
component: () => import("../src/lib/registry/default/example/DialogDemo.vue").then((m) => m.default),
files: ["../src/lib/registry/default/example/DialogDemo.vue"],
},
+ "DialogForm": {
+ name: "DialogForm",
+ type: "components:example",
+ registryDependencies: ["button","form","dialog","input","toast"],
+ component: () => import("../src/lib/registry/default/example/DialogForm.vue").then((m) => m.default),
+ files: ["../src/lib/registry/default/example/DialogForm.vue"],
+ },
"DialogScrollBodyDemo": {
name: "DialogScrollBodyDemo",
type: "components:example",
@@ -2020,6 +2027,13 @@ export const Index = {
component: () => import("../src/lib/registry/new-york/example/DialogDemo.vue").then((m) => m.default),
files: ["../src/lib/registry/new-york/example/DialogDemo.vue"],
},
+ "DialogForm": {
+ name: "DialogForm",
+ type: "components:example",
+ registryDependencies: ["button","form","dialog","input","toast"],
+ component: () => import("../src/lib/registry/new-york/example/DialogForm.vue").then((m) => m.default),
+ files: ["../src/lib/registry/new-york/example/DialogForm.vue"],
+ },
"DialogScrollBodyDemo": {
name: "DialogScrollBodyDemo",
type: "components:example",
diff --git a/apps/www/src/content/docs/components/dialog.md b/apps/www/src/content/docs/components/dialog.md
index de448dbb..0b9c4e26 100644
--- a/apps/www/src/content/docs/components/dialog.md
+++ b/apps/www/src/content/docs/components/dialog.md
@@ -62,6 +62,10 @@ import {
+### Dialog Form
+
+
+
## Notes
To activate the `Dialog` component from within a `Context Menu` or `Dropdown Menu`, you must encase the `Context Menu` or `Dropdown Menu` component in the `Dialog` component. For more information, refer to the linked issue [here](https://github.com/radix-ui/primitives/issues/1836).
diff --git a/apps/www/src/content/docs/dark-mode/vite.md b/apps/www/src/content/docs/dark-mode/vite.md
index a7795237..a0108c09 100644
--- a/apps/www/src/content/docs/dark-mode/vite.md
+++ b/apps/www/src/content/docs/dark-mode/vite.md
@@ -33,7 +33,7 @@ import { Button } from '@/components/ui/button'
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from '@/components/ui/dropdown-menu'
// Pass { disableTransition: false } to enable transitions
-const mode = useColorMode();
+const mode = useColorMode()
diff --git a/apps/www/src/content/docs/installation/nuxt.md b/apps/www/src/content/docs/installation/nuxt.md
index b698435e..89dce2d6 100644
--- a/apps/www/src/content/docs/installation/nuxt.md
+++ b/apps/www/src/content/docs/installation/nuxt.md
@@ -9,6 +9,12 @@ description: Install and configure Nuxt.
Start by creating a new Nuxt project using `create-nuxt-app`:
+
+
+ If you're using the JS template, `jsconfig.json` must exist for the CLI to run without errors.
+
+
+
```bash
npx nuxi@latest init my-app
```
@@ -82,7 +88,8 @@ export default defineNuxtModule({
},
},
async setup({ componentDir, prefix }) {
- const isVeeValidateExist = await tryResolveModule('vee-validate');
+ const veeValidate = await tryResolveModule('vee-validate');
+ const vaulVue = await tryResolveModule('vaul-vue');
addComponentsDir(
{
@@ -96,7 +103,7 @@ export default defineNuxtModule({
}
);
- if (isVeeValidateExist !== undefined) {
+ if (veeValidate !== undefined) {
addComponent({
filePath: 'vee-validate',
export: 'Form',
@@ -112,6 +119,17 @@ export default defineNuxtModule({
});
}
+ if(vaulVue !== undefined) {
+ ['DrawerPortal', 'DrawerTrigger', 'DrawerClose'].forEach((item) => {
+ addComponent({
+ filePath: 'vaul-vue',
+ export: item,
+ name: prefix + item,
+ priority: 999,
+ });
+ })
+ }
+
addComponent({
filePath: 'radix-vue',
export: 'PaginationRoot',
diff --git a/apps/www/src/content/docs/introduction.md b/apps/www/src/content/docs/introduction.md
index e5957005..eabaa5e5 100644
--- a/apps/www/src/content/docs/introduction.md
+++ b/apps/www/src/content/docs/introduction.md
@@ -3,8 +3,8 @@ title: Introduction
description: Re-usable components built with Radix Vue, and Tailwind CSS.
---
-
An unofficial, community-led [Vue](https://vuejs.org/) port of [shadcn/ui](https://ui.shadcn.com). We are not affiliated with [shadcn](https://twitter.com/shadcn), but we did get his blessing before creating a Vue version of his work. This project was born out of the need for a similar project for the Vue ecosystem.
@@ -19,8 +19,13 @@ Pick the components you need. Use the CLI to automatically add the components, o
_Use this as a reference to build your own component libraries._
+
+
## FAQ
+
+
+
@@ -58,3 +63,4 @@ But let us know if you do use it. We'd love to see what you build with it.
+
diff --git a/apps/www/src/examples/cards/components/ReportAnIssue.vue b/apps/www/src/examples/cards/components/ReportAnIssue.vue
index 4d20ef55..7b01eb81 100644
--- a/apps/www/src/examples/cards/components/ReportAnIssue.vue
+++ b/apps/www/src/examples/cards/components/ReportAnIssue.vue
@@ -60,7 +60,7 @@ import { Textarea } from '@/lib/registry/new-york/ui/textarea'