chore: add vue-sonner to demos dependencies, add placeholder for codeConfigs

This commit is contained in:
Sadegh Barati 2024-03-14 12:04:09 +03:30
parent 2e23d7f511
commit a3c9557284
2 changed files with 3 additions and 2 deletions

View File

@ -67,7 +67,7 @@ const onSubmit = handleSubmit((values) => {
<FormItem> <FormItem>
<FormLabel>Components Path</FormLabel> <FormLabel>Components Path</FormLabel>
<FormControl> <FormControl>
<Input placeholder="" v-bind="componentField" /> <Input placeholder="@/components" v-bind="componentField" />
</FormControl> </FormControl>
<FormDescription /> <FormDescription />
<FormMessage /> <FormMessage />
@ -77,7 +77,7 @@ const onSubmit = handleSubmit((values) => {
<FormItem> <FormItem>
<FormLabel>Utils Path</FormLabel> <FormLabel>Utils Path</FormLabel>
<FormControl> <FormControl>
<Input placeholder="" v-bind="componentField" /> <Input placeholder="@/utils" v-bind="componentField" />
</FormControl> </FormControl>
<FormDescription /> <FormDescription />
<FormMessage /> <FormMessage />

View File

@ -92,6 +92,7 @@ function constructFiles(componentName: string, style: Style, sources: Record<str
'shadcn-vue': 'latest', 'shadcn-vue': 'latest',
'typescript': 'latest', 'typescript': 'latest',
'vaul-vue': 'latest', 'vaul-vue': 'latest',
'vue-sonner': 'latest',
'@unovis/vue': 'latest', '@unovis/vue': 'latest',
'@unovis/ts': 'latest', '@unovis/ts': 'latest',
} }