refactor: use @nuxtjs/color-mode
to manage ssr (#612)
This commit is contained in:
parent
6fdcc558fc
commit
7a36fb8efd
14 changed files with 43 additions and 215 deletions
|
@ -19,6 +19,7 @@ export default defineNuxtConfig({
|
|||
'@pinia/nuxt',
|
||||
'@vue-macros/nuxt',
|
||||
'@nuxtjs/i18n',
|
||||
'@nuxtjs/color-mode',
|
||||
'~/modules/purge-comments',
|
||||
'~/modules/setup-components',
|
||||
'~/modules/build-info',
|
||||
|
@ -130,6 +131,7 @@ export default defineNuxtConfig({
|
|||
],
|
||||
},
|
||||
},
|
||||
colorMode: { classSuffix: '' },
|
||||
i18n,
|
||||
pwa,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue