mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Add note to Laravel Mix instructions warning about Sass issue
This commit is contained in:
parent
a77d879db6
commit
df51b6ca49
@ -162,3 +162,15 @@ mix.less('source/_assets/less/main.less', 'source/css')
|
||||
]
|
||||
})
|
||||
```
|
||||
|
||||
**Note for Sass users:** Due to [an unresolved issue](https://github.com/bholloway/resolve-url-loader/issues/28) with one of Mix's dependencies, to use Sass with Tailwind you'll need to disable `processCssUrls`:
|
||||
|
||||
```js
|
||||
var tailwindcss = require('tailwindcss');
|
||||
|
||||
mix.sass('resources/assets/sass/app.scss', 'public/css')
|
||||
.options({
|
||||
processCssUrls: false,
|
||||
postCss: [ tailwindcss('path/to/config.js') ],
|
||||
});
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user