Skip to content

Commit

Permalink
Set up Tailwind CSS and Headless UI
Browse files Browse the repository at this point in the history
npm installed tailwind css and headless ui, and configured tailwind.config.js to include files from public and src
  • Loading branch information
SnowyNate committed Oct 13, 2024
1 parent 0c53f17 commit 65043d6
Show file tree
Hide file tree
Showing 3 changed files with 189 additions and 11 deletions.
186 changes: 175 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"dependencies": {
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.0",
"@headlessui/react": "^2.1.10",
"@mui/icons-material": "^5.15.15",
"@mui/lab": "^5.0.0-alpha.170",
"@mui/material": "^5.15.7",
Expand All @@ -31,6 +32,7 @@
"react-multi-carousel": "^2.8.5",
"react-router-dom": "^6.22.0",
"react-scripts": "^5.0.1",
"tailwindcss": "^3.4.13",
"typescript": "^4.9.5",
"web-vitals": "^2.1.4"
},
Expand Down
12 changes: 12 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./public/**/*.html',
'./src/**/*.{js,jsx,ts,tsx}',
],
theme: {
extend: {},
},
plugins: [],
}

0 comments on commit 65043d6

Please sign in to comment.