cli: fix paths

This commit is contained in:
Benjamin Canac
2024-10-01 11:43:34 +02:00
parent 6a6c43378b
commit 725833c4a9
2 changed files with 2 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ export default defineCommand({
await sortFile(themePath)
if (!args.prose) {
const typesPath = resolve(path, 'src/runtime/types/index.d.ts')
const typesPath = resolve(path, 'src/runtime/types/index.ts')
await appendFile(typesPath, `export * from '../components/${args.content ? 'content/' : ''}${splitByCase(name).map(p => upperFirst(p)).join('')}.vue'`)
await sortFile(typesPath)
}