File tree Expand file tree Collapse file tree 2 files changed +16
-10
lines changed Expand file tree Collapse file tree 2 files changed +16
-10
lines changed Original file line number Diff line number Diff line change
1
+ /** @type {import('tailwindcss').Config } */
1
2
module . exports = {
2
- darkMode : 'media' , // or 'media' or 'class'
3
- theme : {
4
- extend : { } ,
5
- } ,
6
- variants : {
7
- extend : { } ,
8
- } ,
9
- plugins : [ ] ,
10
- }
3
+ content : [ "./views/**/*.blade.php" ] ,
4
+ theme : {
5
+ extend : { } ,
6
+ } ,
7
+ plugins : [ ] ,
8
+ } ;
Original file line number Diff line number Diff line change 1
1
require ( "laravel-mix-purgecss" ) ;
2
2
3
- const fs = require ( "fs" ) ;
4
3
const path = require ( "path" ) ;
5
4
const mix = require ( "laravel-mix" ) ;
6
5
const tailwindcss = require ( "tailwindcss" ) ;
6
+
7
+ mix
8
+ . setPublicPath ( "./" )
9
+ . sass ( path . resolve ( "sass/starter/auth.scss" ) , path . resolve ( "css/starter.css" ) )
10
+ . options ( {
11
+ processCssUrls : false ,
12
+ postCss : [ tailwindcss ( "./tailwind.config.js" ) ] ,
13
+ } )
14
+ . version ( ) ;
You can’t perform that action at this time.
0 commit comments