Skip to content

Commit

Permalink
feat: #6 Installed and Configured Tailwindcss (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
Valsuh45 authored Apr 25, 2024
1 parent 702976e commit 5da1613
Show file tree
Hide file tree
Showing 5 changed files with 388 additions and 12 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@
"prettier": "prettier --write ."
},
"dependencies": {
"autoprefixer": "^10.4.19",
"postcss": "^8.4.38",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.23.0"
"react-router-dom": "^6.23.0",
"tailwindcss": "^3.4.3"
},
"devDependencies": {
"@eslint/eslintrc": "^3.0.2",
Expand Down
6 changes: 6 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
3 changes: 3 additions & 0 deletions src/app.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';
9 changes: 9 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{tsx,scss}"],
theme: {
extend: {},
},
plugins: [],
}

Loading

0 comments on commit 5da1613

Please sign in to comment.