Skip to content

Commit 79bba99

Browse files
committed
add tailwindcss
1 parent 11a68d0 commit 79bba99

File tree

7 files changed

+339
-8
lines changed

7 files changed

+339
-8
lines changed

conf/styleLoaderConf.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const postcssLoader = {
99
sourceMap: _PROD_ ? false : true,
1010
postcssOptions: {
1111
plugins: [
12+
require('tailwindcss'),
1213
['postcss-preset-env', {
1314
browsers: '> 0.5%, not dead, iOS >= 12, Android >= 4.5'
1415
}]

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
"raw-loader": "^4.0.2",
6666
"style-loader": "^4.0.0",
6767
"sw-precache-webpack-plugin": "^0.11.5",
68+
"tailwindcss": "^3.4.14",
6869
"typescript": "5.5.4",
6970
"uglifyjs-webpack-plugin": "^2.2.0",
7071
"webpack": "^5.94.0",

0 commit comments

Comments
 (0)