Skip to content

Commit e877592

Browse files
Remove reference to 'purge' option from Tailwind configuration (laravel#7529)
* Remove reference to 'purge' option from Tailwind * Update mix.md * Update mix.md Co-authored-by: Taylor Otwell <[email protected]>
1 parent e69b326 commit e877592

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mix.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ Your application's `webpack.mix.js` file is your entry point for all asset compi
9494

9595
npx tailwindcss init
9696

97-
The `init` command will generate a `tailwind.config.js` file. Within this file, you may configure the paths to all of your application's templates and JavaScript so that Tailwind can tree-shake unused styles when optimizing your CSS for production:
97+
The `init` command will generate a `tailwind.config.js` file. The `content` section of this file allows you to configure the paths to all of your HTML templates, JavaScript components, and any other source files that contain Tailwind class names so that they may be purged:
9898

9999
```js
100-
purge: [
100+
content: [
101101
'./storage/framework/views/*.php',
102102
'./resources/**/*.blade.php',
103103
'./resources/**/*.js',

0 commit comments

Comments
 (0)