Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyWay committed Aug 6, 2015
1 parent 064c950 commit 636aee1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This is a simple wrapper around Laravel Elixir.
First, pull in the extension through NPM.

```
npm install --save-dev laravel-elixir-stylus
npm install --save-dev laravel-elixir-stylus
```

Next, add it to your Elixir-enhanced Gulpfile, like so:
Expand Down Expand Up @@ -44,19 +44,19 @@ mix.stylus('app.styl', './public/scripts/styles.css')

Finally, if you want to override the Stylus plugin options, you may pass an object as the third argument.

```
```js
mix.stylus('app.styl', null, {});

// See options at: https://www.npmjs.com/package/gulp-stylus#options
```

## PostCSS

This extension includes a PostCSS adapter out of the box. It even includes support for the incredibly impressive ![Lost](https://github.com/corysimmons/lost) grid system. Check out the documentation in that link, and immediately start using it in your projects with this extension. :)
This extension includes a PostCSS adapter out of the box, as well as support for the incredibly impressive [Lost](https://github.com/corysimmons/lost) grid system. Check out the documentation in that link, and immediately start using it in your projects with this extension. Zero setup. :)

If there are other PostCSS plugins you want to pull in, you may use the third argument to `mix.stylus()` -

```
```js
var postStylus = require('poststylus'); // npm install --save-dev poststylus

mix.stylus('app.styl', null, {
Expand Down

0 comments on commit 636aee1

Please sign in to comment.