Last active
November 3, 2017 14:57
-
-
Save reinink/1effded31e4295294869c7170b92123d to your computer and use it in GitHub Desktop.
Generating the Tailwind docs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Clone the Tailwind repo locally | |
git clone git@github.com:tailwindcss/tailwindcss.git tailwind | |
# Go to Tailwind folder | |
cd tailwind | |
# Install Tailwind JS dependencies | |
npm install | |
# Go to docs folder | |
cd docs | |
# Install PHP dependencies for docs | |
# Requires Composer: https://getcomposer.org/ | |
composer install | |
# Install JS dependencies for docs | |
npm install | |
# Run the build to generate the static site | |
npm run dev | |
# View the static site at /tailwind/docs/build_local | |
# Or you can run the Jigwag server: | |
./vendor/bin/jigsaw serve --port=8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment