@bbnb/openfit-global-components
v0.2.4
Published
Global components for Header and Footer providing some additional generic functionalities
Downloads
78
Readme
Global Components
Repository responsible to deliver a header, footer and search engine for all other apps.
Working within this repo
Working from other repo
This repo expose an executable that can be fired externally with the command of-global-components.
It contains several commands:
- fetch-data - Is responsible to fetch the data from sanity.
Commands configuration
Commands can be configured in multiple ways. There are pre-defined environment settings that contain all the settings configured for its environment.
Predefined settings
- dev
- staging
- prod
While using the command line you just need to specify the env option like that.
global-components fetch --env staging
Known limitations:
- [ ] - Fetch data fetches for now only the published data