以下是我们目前的配置。我们如何在不通过 storeConfig 的情况下配置、后端、身份验证、上下文?
B2cStorefrontModule.withConfig(environment.storeConfig), ConfigModule.withConfigFactory(defaultCmsContentConfig),
storeConfig: {
backend: {
occ: {
baseUrl: 'https://localhost:9002',
prefix: '/mywebservices/v2/'
}
},
authentication: {
client_id: 'myid',
client_secret: 'mysecret'
},
context: {
baseSite: ['mysite'],
currency: ['USD'],
},
i18n: {
resources: translations,
chunks: translationChunksConfig,
fallbackLang: 'en'
}
},