mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
docs(example): fix runtimeConfig
extension in config-extends example (#9912)
This commit is contained in:
parent
be132df587
commit
f1ad3550c5
@ -2,10 +2,12 @@ export default defineNuxtConfig({
|
||||
imports: {
|
||||
dirs: ['utils']
|
||||
},
|
||||
publicRuntimeConfig: {
|
||||
theme: {
|
||||
primaryColor: 'base_primary',
|
||||
secondaryColor: 'base_secondary'
|
||||
runtimeConfig: {
|
||||
public: {
|
||||
theme: {
|
||||
primaryColor: 'base_primary',
|
||||
secondaryColor: 'base_secondary'
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
@ -3,9 +3,11 @@ export default defineNuxtConfig({
|
||||
'./ui',
|
||||
'./base'
|
||||
],
|
||||
publicRuntimeConfig: {
|
||||
theme: {
|
||||
primaryColor: 'user_primary'
|
||||
runtimeConfig: {
|
||||
public: {
|
||||
theme: {
|
||||
primaryColor: 'user_primary'
|
||||
}
|
||||
}
|
||||
},
|
||||
modules: [
|
||||
|
Loading…
Reference in New Issue
Block a user