50 lines
1.2 KiB
Markdown
50 lines
1.2 KiB
Markdown
# Jekyll + Tailwind CSS
|
||
|
||
> Minimal Jekyll and Tailwind CSS starter repo without long live-reload render times.
|
||
|
||
You want to run `jekyll new your-site --blank` and add
|
||
[Tailwind CSS](tailwindcss.com) yourself, right?
|
||
Don’t.
|
||
Fork this repo instead.
|
||
|
||
[Responsive demo](https://jekyll-tailwind.netlify.app/)
|
||
(resize your window and watch it adjust)
|
||
|
||
Check out the accompanying
|
||
[blog post](https://stefcoetzee.com/2021/07/28/jekyll-tailwind-starter-repo)
|
||
for more.
|
||
|
||
[](https://app.netlify.com/sites/jekyll-tailwind/deploys)
|
||
|
||
## Getting Started
|
||
|
||
```bash
|
||
git clone git@github.com:stefcoetzee/jekyll-tailwind your-site
|
||
cd your-site
|
||
bin/setup
|
||
```
|
||
|
||
## Usage
|
||
|
||
### Development
|
||
|
||
```bash
|
||
# Start a live-reload server at http://localhost:4000
|
||
bin/start
|
||
```
|
||
|
||
### Production
|
||
|
||
Note: Delete `.site` and it’s contents to see the production build output.
|
||
|
||
```bash
|
||
bin/build-prod
|
||
```
|
||
|
||
## Credit
|
||
|
||
Thanks to [@joemasilotti](https://github.com/joemasilotti) for sharing his build
|
||
scripts [here](https://github.com/joemasilotti/masilotti.com/tree/main/bin).
|
||
|
||
Say hi [@stef_coetzee](https://twitter.com/stef_coetzee)!
|