This repository was archived by the owner on Dec 11, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +15
-10
lines changed Expand file tree Collapse file tree 3 files changed +15
-10
lines changed Original file line number Diff line number Diff line change 1212class Preset extends LaravelPreset
1313{
1414 const NPM_PACKAGES_TO_ADD = [
15- '@tailwindcss/typography ' => '^0.2 ' ,
16- '@tailwindcss/custom-forms ' => '^0.2 ' ,
15+ '@tailwindcss/typography ' => '^0.2.0 ' ,
16+ '@tailwindcss/custom-forms ' => '^0.2.0 ' ,
17+ 'laravel-mix ' => '^5.0.1 ' ,
18+ 'tailwindcss ' => '^1.7.0 ' ,
19+ 'autoprefixer ' => '^9.8.6 ' ,
20+ 'postcss-import ' => '^12.0.1 ' ,
1721 'vue ' => '^2.6.11 ' ,
1822 'vue-template-compiler ' => '^2.6.11 ' ,
19- 'laravel-mix ' => '^5.0.1 ' ,
20- 'tailwindcss ' => '^1.4 ' ,
2123 ];
2224
2325 const NPM_PACKAGES_TO_REMOVE = [
Original file line number Diff line number Diff line change 1- @tailwind base;
1+ @import "tailwindcss/base" ;
2+ /* @import "./custom-base-styles.css"; */
23
3- @tailwind components;
4+ @import "tailwindcss/components" ;
5+ /* @import "./custom-components.css"; */
46
5- @tailwind utilities;
7+ @import "tailwindcss/utilities" ;
8+ /* @import "./custom-utilities.css"; */
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ const mix = require('laravel-mix');
1313
1414mix . js ( 'resources/js/app.js' , 'public/js' )
1515 . postCss ( 'resources/css/app.css' , 'public/css' , [
16+ require ( 'postcss-import' ) ,
1617 require ( 'tailwindcss' ) ,
17- ] ) ;
18-
19- if ( mix . inProduction ( ) ) mix . version ( ) ;
18+ require ( 'autoprefixer' ) ,
19+ ] ) . version ( ) ;
2020
You can’t perform that action at this time.
0 commit comments