We use eleventy --serve
and compile Sass with sass-cli with npm scripts.
1. Clone the repository.
2. Install the dependencies.
In the package.json
file, you will find all of the dependencies (and scripts) to install them using the following command:
npm install
3. Run the development mode
To run the development mode, use the npm script
. This script will also watch for changes.
npm start
4. Run the production mode
Before you go live, you should use the production script to compress the Sass files.
npm run prod