Skip to content

Latest commit

 

History

History
71 lines (45 loc) · 1.9 KB

File metadata and controls

71 lines (45 loc) · 1.9 KB

uSupport-client-ui

uSupport Client User Interface

Contribute

Installation

To clone the source code use:

git clone git@github.com:UNICEFECAR/USupport-client-ui.git

To install all the dependencies use:

npm install

The uSupport Client UI can be run via the Vite build tool. For more information about Vite please see the documentation

To run the project via Vite use the following command:

npm run dev

Adding a new block to the uSupport Client UI

To create a new block, please use the provided bash script create-block.bash. By executing the following command from the root directory of the project:

chmod +x create-block.bash
./create-block.bash

Then, you will be prompted to provide block name, block description, and whether the block requires locale files.

Adding a new page to the uSupport Client UI

To create a new page, please use the provided bash script create-page.bash. By executing the following command from the root directory of the project:

chmod +x create-page.bash
./create-page.bash

Then, you will be prompted to provide page name, page description, and whether the page requires locale files.

Adding a new backdrop to the uSupport Client UI

To create a new backdrop, please use the provided bash script create-backdrop.bash. By executing the following command from the root directory of the project:

chmod +x create-backdrop.bash
./create-backdrop.bash

Then, you will be prompted to provide backdrop name and whether the backdrop requires locale files.

Adding a new modal to the uSupport Client UI

To create a new modal, please use the provided bash script create-modal.bash. By executing the following command from the root directory of the project:

chmod +x create-modal.bash
./create-modal.bash

Then, you will be prompted to provide modal name and whether the modal requires locale files.