@becomes/cms-ui
v3.4.1
Published
Core module of the [BCMS](https://github.com/becomesco/cms). It is a dashboard for the BCMS and provides UI features.
Downloads
171
Readme
BCMS UI
Core module of the BCMS. It is a dashboard for the BCMS and provides UI features.
For developers
To develop BCMS UI you will need to install few tools on you computer:
You can use YARN but NPM is recommended.
- Install dependencies with:
npm i
- Start development by running
docker-compose up
. You can also rundocker-compose -f docker-compose-standalone.yml up
if you only want to start UI container. - While in development, if you install new dependency or
change any file outside the
src
directory, you will need to rundocker-compose build
command
Feature management
All features are loaded using bcmsFeatureLoader function which is called in app.tsx. This function will push all features to the store and they are available by using store.getters.feature_available('FEATURE_NAME')
.