Core module of the BCMS. It is a dashboard for the BCMS and provides UI features.
To develop BCMS UI you will need to install few tools on you computer:
- Docker,
- Docker Compose,
- NodeJS 14+ and
- NPM
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
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')
.