fix: icon error

This commit is contained in:
2024-07-28 01:59:09 +08:00
parent 8eeccb0a18
commit 8f4f2b6596
2 changed files with 30 additions and 25 deletions

View File

@@ -8,11 +8,11 @@ export default defineAppConfig({
loading: 'animate-none', loading: 'animate-none',
}, },
default: { default: {
loadingIcon: 'i-svg-spinners-180-ring-with-bg' loadingIcon: 'i-svg-spinners-180-ring-with-bg',
} },
}, },
notifications: { notifications: {
position: 'top-0 bottom-auto' position: 'top-0 bottom-auto',
}, },
horizontalNavigation: { horizontalNavigation: {
container: 'gap-2', container: 'gap-2',
@@ -21,7 +21,7 @@ export default defineAppConfig({
active: 'before:bg-neutral-600 hover:before:bg-neutral-600 dark:before:bg-neutral-800 dark:hover:before:bg-neutral-800 text-neutral-50 dark:text-neutral-300', active: 'before:bg-neutral-600 hover:before:bg-neutral-600 dark:before:bg-neutral-800 dark:hover:before:bg-neutral-800 text-neutral-50 dark:text-neutral-300',
icon: { icon: {
active: 'text-neutral-50 dark:text-neutral-300', active: 'text-neutral-50 dark:text-neutral-300',
}
}, },
} },
},
}) })

View File

@@ -19,6 +19,11 @@ export default defineNuxtConfig({
'@nuxt/image', '@nuxt/image',
], ],
icon: {
provider: 'iconify',
serverBundle: false,
},
colorMode: { colorMode: {
preference: 'light', preference: 'light',
}, },