We're managing multiple environments on Contentful and looks like there is no way to configure a different environment rather than master
.
https://contentful.github.io/contentful.js/contentful/9.1.18/
VSF-Entreprise Contentful docs:
https://docs.vuestorefront.io/contentful/guide/installation.html
Using:
"@vsf-enterprise/contentful": "^0.3.2",
cc @ritz0106
2.3.3
@Fedeorlandau Hello. From version 0.3.4
you can set the environment through the CF integration API. Cheers.
@lukasborawski what do you think of moving the environment selection to the middleware config?
module.exports = {
integrations: {
cntf: {
location: '@vsf-enterprise/contentful/server',
configuration: {
token: 'CONTENT_DELIVERY_TOKEN',
space: 'CONTENT_SPACE_ID',
environment: 'master',
},
},
// ... other configs
},
}
It's a little bit annoying to do it on the search function. There could be a fair reason to do it but just asking :)
Cheers,
Owner Name | vuestorefront |
Repo Name | vue-storefront |
Full Name | vuestorefront/vue-storefront |
Language | TypeScript |
Created Date | 2017-08-15 |
Updated Date | 2023-03-19 |
Star Count | 10081 |
Watcher Count | 278 |
Fork Count | 2032 |
Issue Count | 32 |
Issue Title | Created Date | Updated Date |
---|