Skip to content

Commit

Permalink
added tailwindcss in the project
Browse files Browse the repository at this point in the history
  • Loading branch information
nirban256 committed May 16, 2022
1 parent a8358f3 commit 4e17da2
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,11 @@
]
},
"devDependencies": {
"typescript": "^4.6.4",
"autoprefixer": "^10.4.7",
"postcss": "^8.4.13",
"puppeteer": "^13.7.0",
"react-snap": "^1.23.0",
"puppeteer": "^13.7.0"
"tailwindcss": "^3.0.24",
"typescript": "^4.6.4"
}
}
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 src/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
9 changes: 9 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
content: [
"./src/**/*.{js,jsx,ts,tsx}",
],
theme: {
extend: {},
},
plugins: [],
}

0 comments on commit 4e17da2

Please sign in to comment.