Theming API: Update Theme export

This commit is contained in:
Mert Sincan 2024-05-13 22:57:53 +01:00
parent a82843f1ff
commit 792f02f9b5
11 changed files with 11 additions and 13 deletions

View file

@ -55,7 +55,7 @@ export default defineNuxtModule({
${registered.styles.map((style) => `import ${style.as} from '${style.from}';`).join('\n')}
${
hasTheme
? `import Theme from 'primevue/themes';
? `import { Theme } from 'primevue/themes';
import ${importTheme.as} from '${importTheme.from}';\n`
: ''
}