Skip to content

Commit

Permalink
Merge pull request tailwindlabs#6 from ngscheurich/ngscheurich-add-br…
Browse files Browse the repository at this point in the history
…unch-instructions

Add installation instructions for Brunch
  • Loading branch information
adamwathan authored Mar 14, 2018
2 parents 25835dc + 68ff933 commit 5bde7dc
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions source/docs/installation.blade.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,3 +214,22 @@ mix.sass('resources/assets/sass/app.scss', 'public/css')
```

For more information on what this feature does and the implications of disabling it, [see the Laravel Mix documentation](https://github.com/JeffreyWay/laravel-mix/blob/master/docs/css-preprocessors.md#css-url-rewriting).

#### Brunch

Add `tailwindcss` to the list of processors you pass to [postcss-brunch](https://github.com/brunch/postcss-brunch), passing the path to your config file:

```js
exports.config = {
// ..
plugins: {
// ...
postcss: {
processors: [
require('tailwindcss')('./tailwind.js')
]
}
// ...
}
};
```

0 comments on commit 5bde7dc

Please sign in to comment.