valaxy
valaxy copied to clipboard
bug: unable to use valaxy addons in theme in any form

emm, this is a temporary solution

Now, it works.
export default defineTheme<ThemeConfig>((options) => {
return {
themeConfig: defaultThemeConfig,
vite: {
plugins: [ThemeVitePlugin(options)],
},
unocss: {
safelist: generateSafelist(options),
},
addons: ['valaxy-addon-waline'],
}
})