Update README

This commit is contained in:
Stef Coetzee 2022-01-06 07:45:46 +02:00
parent 0a9bf28923
commit 1955728fee

View File

@ -29,27 +29,20 @@ bin/setup
### Development
```bash
# Make all Tailwind utility classes available for development.
bin/build-dev
# Start a live-reload server at http://localhost:4000, skipping file with Tailwind
# @import statements during regeneration.
# Start a live-reload server at http://localhost:4000
bin/start
```
### Production
Delete `.site` and its contents to see the production build output.
Note: Delete `.site` and its contents to see the production build output.
```bash
# Purge unused classes.
bin/build-prod
```
## Credit
Thanks to [@shafy](https://github.com/shafy) for sharing the two config-file
approach [here](https://canolcer.com/post/jekyll-and-tailwind/).
Thanks to [@joemasilotti](https://github.com/joemasilotti) for sharing his build
scripts [here](https://github.com/joemasilotti/masilotti.com/tree/main/bin).