Skip to content

Commit

Permalink
feat: setup tailwind (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdiPol1359 authored Nov 26, 2022
1 parent 4e0ea0d commit 557e920
Show file tree
Hide file tree
Showing 6 changed files with 1,419 additions and 338 deletions.
3 changes: 3 additions & 0 deletions apps/app/app/globals.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
2 changes: 2 additions & 0 deletions apps/app/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { AnalyticsWrapper } from "../components/analytics";

import "./globals.css";

export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="pl">
Expand Down
3 changes: 3 additions & 0 deletions apps/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@
"@types/node": "18.11.9",
"@types/react": "18.0.25",
"@vercel/analytics": "0.1.5",
"autoprefixer": "^10.4.13",
"eslint": "8.28.0",
"eslint-config-devfaq": "workspace:*",
"postcss": "^8.4.19",
"tailwindcss": "^3.2.4",
"tsconfig": "workspace:*",
"typescript": "4.9.3"
}
Expand Down
6 changes: 6 additions & 0 deletions apps/app/postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
};
8 changes: 8 additions & 0 deletions apps/app/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./app/**/*.{ts,tsx}", "./components/**/*.{ts,tsx}"],
theme: {
extend: {},
},
plugins: [],
};
Loading

0 comments on commit 557e920

Please # to comment.