Before you can build this project, you must install and configure the following dependencies on your machine:
- Node.js: We use Node to run a development web server and build the project. Depending on your system, you can install Node either from source or as a pre-packaged bundle.
After installing Node, you should be able to run the following command to install development tools. You will only need to run this command when dependencies change in package.json.
npm install
Just run npm run build:css:watch
to keep generating the src/assets/css/style.cs only with the used class.
The following packages were used to setup the environment:
npm install --save-dev postcss-cli
npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init --full
npm add -D animated-tailwindcss
npm install cssnano postcss --save-dev