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 12
12
class Preset extends LaravelPreset
13
13
{
14
14
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 ' ,
17
21
'vue ' => '^2.6.11 ' ,
18
22
'vue-template-compiler ' => '^2.6.11 ' ,
19
- 'laravel-mix ' => '^5.0.1 ' ,
20
- 'tailwindcss ' => '^1.4 ' ,
21
23
];
22
24
23
25
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"; */
2
3
3
- @tailwind components;
4
+ @import "tailwindcss/components" ;
5
+ /* @import "./custom-components.css"; */
4
6
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');
13
13
14
14
mix . js ( 'resources/js/app.js' , 'public/js' )
15
15
. postCss ( 'resources/css/app.css' , 'public/css' , [
16
+ require ( 'postcss-import' ) ,
16
17
require ( 'tailwindcss' ) ,
17
- ] ) ;
18
-
19
- if ( mix . inProduction ( ) ) mix . version ( ) ;
18
+ require ( 'autoprefixer' ) ,
19
+ ] ) . version ( ) ;
20
20
You can’t perform that action at this time.
0 commit comments