Skip to content

Instantly share code, notes, and snippets.

@reinink
Last active November 3, 2017 14:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reinink/1effded31e4295294869c7170b92123d to your computer and use it in GitHub Desktop.
Save reinink/1effded31e4295294869c7170b92123d to your computer and use it in GitHub Desktop.
Generating the Tailwind docs
# 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