From 90d6b750c37331862f925529c210013b767b6306 Mon Sep 17 00:00:00 2001 From: kevinnls Date: Wed, 23 Aug 2023 01:06:30 +0530 Subject: [PATCH] config tailwind --- postcss.config.js | 6 ++++++ src/app.css | 3 +++ src/routes/+layout.svelte | 5 +++++ tailwind.config.js | 9 +++++++++ 4 files changed, 23 insertions(+) create mode 100644 postcss.config.js create mode 100644 src/app.css create mode 100644 src/routes/+layout.svelte create mode 100644 tailwind.config.js diff --git a/postcss.config.js b/postcss.config.js new file mode 100644 index 0000000..2e7af2b --- /dev/null +++ b/postcss.config.js @@ -0,0 +1,6 @@ +export default { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +} diff --git a/src/app.css b/src/app.css new file mode 100644 index 0000000..b5c61c9 --- /dev/null +++ b/src/app.css @@ -0,0 +1,3 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte new file mode 100644 index 0000000..ebb273b --- /dev/null +++ b/src/routes/+layout.svelte @@ -0,0 +1,5 @@ + + + diff --git a/tailwind.config.js b/tailwind.config.js new file mode 100644 index 0000000..68f2b3a --- /dev/null +++ b/tailwind.config.js @@ -0,0 +1,9 @@ +/** @type {import('tailwindcss').Config} */ +export default { + content: ['./src/**/{*.{html,ts,js,svelte}'], + theme: { + extend: {}, + }, + plugins: [], +} +