Skip to content

Commit

Permalink
tailwind 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hmu332233 committed Mar 12, 2022
1 parent 4f27565 commit 8a6a1e6
Show file tree
Hide file tree
Showing 5 changed files with 464 additions and 14 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@
"devDependencies": {
"@types/node": "17.0.21",
"@types/react": "17.0.40",
"autoprefixer": "^10.4.2",
"daisyui": "^2.6.4",
"eslint": "8.10.0",
"eslint-config-next": "12.1.0",
"postcss": "^8.4.8",
"tailwindcss": "^3.0.23",
"typescript": "4.6.2"
}
}
6 changes: 6 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
3 changes: 3 additions & 0 deletions styles/globals.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
13 changes: 13 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module.exports = {
content: [
"./pages/**/*.{ts,tsx}",
"./components/**/*.{ts,tsx}",
],
theme: {
extend: {},
},
plugins: [require("daisyui")],
daisyui: {
themes: ["bumblebee"],
},
}
Loading

0 comments on commit 8a6a1e6

Please sign in to comment.