From 3a7427ab6d5116e67673f19b98810c76b5a9004c Mon Sep 17 00:00:00 2001 From: Matt Kirby <MattJKirby@outlook.com> Date: Tue, 14 Mar 2023 18:15:02 +0000 Subject: [PATCH] Tailwind setup --- daily-thought-frontend/postcss.config.js | 6 ++++++ daily-thought-frontend/tailwind.config.js | 15 +++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 daily-thought-frontend/postcss.config.js create mode 100644 daily-thought-frontend/tailwind.config.js diff --git a/daily-thought-frontend/postcss.config.js b/daily-thought-frontend/postcss.config.js new file mode 100644 index 00000000..33ad091d --- /dev/null +++ b/daily-thought-frontend/postcss.config.js @@ -0,0 +1,6 @@ +module.exports = { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +} diff --git a/daily-thought-frontend/tailwind.config.js b/daily-thought-frontend/tailwind.config.js new file mode 100644 index 00000000..cf9b1777 --- /dev/null +++ b/daily-thought-frontend/tailwind.config.js @@ -0,0 +1,15 @@ +/** @type {import('tailwindcss').Config} */ +module.exports = { + content: [ + "./app/**/*.{js,ts,jsx,tsx}", + "./pages/**/*.{js,ts,jsx,tsx}", + "./components/**/*.{js,ts,jsx,tsx}", + + // Or if using `src` directory: + "./src/**/*.{js,ts,jsx,tsx}", + ], + theme: { + extend: {}, + }, + plugins: [], +} -- GitLab