Overview

Components dashboard for RT design system.
Tailwind and Nunjucks.

Setup for development mode in Njk and Tailwind

INSTALLATION

Clone this repository, then, within the project folder, run:

npm install

in order to install the environment.
You need at least v20.9.0 Node.

START DEVELOPMENT MODE

When all the packages and dependences are installed successfully, you can run:

npm run start

to start Fractal server and Webpack in development mode.

BUILD STATIC VERSION

You can run:

npm run build

to build a static version in the dist folder.

SVG SPRITE

Run:

npm run build-svg-sprite

to compile Svg Sprite file

SVG SPRITE WITH YML CONFIG

Run:

npm run build-svg

to compile Svg Sprite file and generate yml config file for svgs (will be used in Nunjucks to render icon list).