Skip to content

Commit 394f894

Browse files
committed
Install and configure tailwind forms
1 parent b1c5ea5 commit 394f894

File tree

3 files changed

+56
-9
lines changed

3 files changed

+56
-9
lines changed

package-lock.json

Lines changed: 50 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"lint": "vue-cli-service lint"
99
},
1010
"dependencies": {
11+
"@tailwindcss/forms": "^0.3.3",
1112
"@tailwindcss/postcss7-compat": "^2.0.2",
1213
"autoprefixer": "^9",
1314
"core-js": "^3.6.5",

tailwind.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,9 @@ module.exports = {
77
variants: {
88
extend: {},
99
},
10-
plugins: [],
10+
plugins: [
11+
require('@tailwindcss/forms')({
12+
strategy: 'class',
13+
}),
14+
],
1115
};

0 commit comments

Comments
 (0)