Tailwind uses the Jigsaw static site generator for its documentation. Here is how you can generate the documentation locally:
-
Go to your Tailwind folder
cd docs
-
Install JS dependencies
npm install
-
Install PHP dependencies for docs (requires Composer: https://getcomposer.org)
composer install
-
Run the build to generate the static site
npm run dev
-
View the static site at
/build_local
, or you can run the Jigsaw server:./vendor/bin/jigsaw serve