diff --git a/docs/app/app.config.ts b/docs/app/app.config.ts index 5e5c497b..334a5535 100644 --- a/docs/app/app.config.ts +++ b/docs/app/app.config.ts @@ -1,4 +1,9 @@ export default defineAppConfig({ + toaster: { + position: 'bottom-right' as const, + expand: true, + duration: 5000 + }, ui: { colors: { primary: 'green', diff --git a/docs/app/app.vue b/docs/app/app.vue index a0d3d4d7..44b88abc 100644 --- a/docs/app/app.vue +++ b/docs/app/app.vue @@ -4,6 +4,7 @@ import { withoutTrailingSlash } from 'ufo' // import type { ContentSearchFile } from '@nuxt/ui-pro' const route = useRoute() +const appConfig = useAppConfig() // const colorMode = useColorMode() const runtimeConfig = useRuntimeConfig() const { integrity, api } = runtimeConfig.public.content @@ -74,7 +75,7 @@ provide('navigation', navigation)