-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Peter Sorensen
authored and
Peter Sorensen
committed
Aug 19, 2019
1 parent
ba650b1
commit e7d6efe
Showing
1 changed file
with
1 addition
and
41 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1 @@ | ||
**Note: This project is deprecated.** It was never a very good starter for real projects since you don't want your CSS framework to dictate your starter webpack setup — better to use vue-cli, create-react-app, etc. | ||
|
||
We recommend using the [tailwindcss/playground](https://github.com/tailwindcss/playground) starter if you just want a simple project for playing around with Tailwind and PostCSS. | ||
|
||
--- | ||
|
||
# Tailwind CSS Webpack Starter Project | ||
|
||
This is an example of a super simple Webpack setup for using [Tailwind CSS](https://tailwindcss.com). | ||
|
||
To get started, clone the project and install the dependencies: | ||
|
||
``` | ||
# Using npm | ||
npm install | ||
# Using Yarn | ||
yarn | ||
``` | ||
|
||
After that, start up Webpack Development Server: | ||
|
||
``` | ||
npm run dev | ||
``` | ||
|
||
Webpack Development Server will watch `/src/styles.css` and `/tailwind.js` and rebuild your stylesheet on every change. | ||
|
||
You can play around with `/index.html` to see the effects of your changes. | ||
|
||
To build a production bundle run: | ||
|
||
``` | ||
npm run prod | ||
``` | ||
|
||
After that you will have a ready to deploy bundle at `/dist` | ||
|
||
## Contributing | ||
|
||
Have a lot of experience with Webpack and suggestions on how we could improve this starter template? We'd love a PR! | ||
# Underscores with Tailwind |