diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 0000000..b0e6c85 --- /dev/null +++ b/.prettierrc.json @@ -0,0 +1,3 @@ +{ + "plugins": ["prettier-plugin-tailwindcss"] +} diff --git a/bun.lockb b/bun.lockb index bdbc33f..2122bf0 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index d363d7c..8e23e87 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,11 @@ "preview": "vite preview" }, "dependencies": { + "autoprefixer": "^10.4.18", + "postcss": "^8.4.35", "react": "^18.2.0", - "react-dom": "^18.2.0" + "react-dom": "^18.2.0", + "tailwindcss": "^3.4.1" }, "devDependencies": { "@types/react": "^18.2.56", @@ -22,6 +25,8 @@ "eslint": "^8.56.0", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.5", + "prettier": "^3.2.5", + "prettier-plugin-tailwindcss": "^0.5.11", "typescript": "^5.2.2", "vite": "^5.1.4" } diff --git a/postcss.config.js b/postcss.config.js new file mode 100644 index 0000000..2aa7205 --- /dev/null +++ b/postcss.config.js @@ -0,0 +1,6 @@ +export default { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +}; diff --git a/tailwind.config.js b/tailwind.config.js new file mode 100644 index 0000000..2e41397 --- /dev/null +++ b/tailwind.config.js @@ -0,0 +1,4 @@ +/** @type {import('tailwindcss').Config} */ +export default { + content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx,mdx}"], +};