Skip to content

Commit 3af77cc

Browse files
committed
cli: fix component template import
1 parent a3a562b commit 3af77cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/templates.mjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const component = ({ name, primitive, pro, prose, content }) => {
3333
import type { AppConfig } from '@nuxt/schema'
3434
import _appConfig from '#build/app.config'
3535
import theme from '#build/${path}/${prose ? 'prose/' : ''}${content ? 'content/' : ''}${kebabName}'
36-
import { tv } from ${pro ? '#ui/utils/tv' : '../utils/tv'}
36+
import { tv } from '${pro ? '#ui/utils/tv' : '../utils/tv'}'
3737
3838
const appConfig = _appConfig as AppConfig & { ${key}: { ${prose ? 'prose: { ' : ''}${camelName}: Partial<typeof theme> } }${prose ? ' }' : ''}
3939
@@ -76,7 +76,7 @@ import type { ${upperName}RootProps, ${upperName}RootEmits } from 'reka-ui'
7676
import type { AppConfig } from '@nuxt/schema'
7777
import _appConfig from '#build/app.config'
7878
import theme from '#build/${path}/${prose ? 'prose/' : ''}${content ? 'content/' : ''}${kebabName}'
79-
import { tv } from ${pro ? '#ui/utils/tv' : '../utils/tv'}
79+
import { tv } from '${pro ? '#ui/utils/tv' : '../utils/tv'}'
8080
8181
const appConfig = _appConfig as AppConfig & { ${key}: { ${prose ? 'prose: { ' : ''}${camelName}: Partial<typeof theme> } }${prose ? ' }' : ''}
8282

0 commit comments

Comments
 (0)