parent
1ff244c475
commit
f05922dfd0
|
|
@ -6,6 +6,10 @@
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": ["default", "new-york"]
|
"enum": ["default", "new-york"]
|
||||||
},
|
},
|
||||||
|
"typescript": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": true
|
||||||
|
},
|
||||||
"tailwind": {
|
"tailwind": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
@ -19,11 +23,17 @@
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"cssVariables": {
|
"cssVariables": {
|
||||||
"type": "boolean"
|
"type": "boolean",
|
||||||
|
"default": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["config", "css", "baseColor", "cssVariables"]
|
"required": ["config", "css", "baseColor", "cssVariables"]
|
||||||
},
|
},
|
||||||
|
"framework": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["nuxt", "vite", "laravel", "astro"],
|
||||||
|
"default": "vite"
|
||||||
|
},
|
||||||
"aliases": {
|
"aliases": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
|
||||||
|
|
@ -178,7 +178,7 @@ export async function promptForConfig(
|
||||||
])
|
])
|
||||||
|
|
||||||
const config = rawConfigSchema.parse({
|
const config = rawConfigSchema.parse({
|
||||||
// $schema: 'https://ui.shadcn.com/schema.json',
|
$schema: 'https://shadcn-vue.com/schema.json',
|
||||||
style: options.style,
|
style: options.style,
|
||||||
typescript: options.typescript,
|
typescript: options.typescript,
|
||||||
framework: options.framework,
|
framework: options.framework,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user