diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index c8025e2f1..b2dfb20a5 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -31,3 +31,34 @@ npm test ``` Please ensure that the tests are passing when submitting a pull request. If you're adding new features to Tailwind, please include tests. + +## Building the CSS and trying your changes manually + +In addition to the automated tests, if you'd like to test the generated CSS manually with your own test HTML file, you can generate the default build by running: + +```sh +npm run prepare +``` + +This will create new CSS files in the `/dist` folder which you can reference in your own test HTML file. We often test our own changes by creating an `index.html` file in the root of the Tailwind project itself that pulls in the `/dist/tailwind.css` stylesheet: + +```html + + +
+ + + +