From c329368906608ea818d6caf877361ce56ddb3d36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Viricel?= Date: Thu, 17 Dec 2020 12:17:47 +0100 Subject: [PATCH] TailwindCSS basic configuration --- assets/css/tailwind.css | 3 +++ tailwind.config.js | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 assets/css/tailwind.css create mode 100644 tailwind.config.js diff --git a/assets/css/tailwind.css b/assets/css/tailwind.css new file mode 100644 index 0000000..b5c61c9 --- /dev/null +++ b/assets/css/tailwind.css @@ -0,0 +1,3 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; diff --git a/tailwind.config.js b/tailwind.config.js new file mode 100644 index 0000000..cc41527 --- /dev/null +++ b/tailwind.config.js @@ -0,0 +1,20 @@ +module.exports = { + purge: { + enabled: process.env.NODE_ENV === "production", + content: [ + "./components/**/*.{vue,js}", + "./layouts/**/*.vue", + "./pages/**/*.vue", + "./plugins/**/*.{js,ts}", + "./nuxt.config.{js,ts}" + ] + }, + darkMode: false, + theme: { + extend: {} + }, + variants: { + extend: {} + }, + plugins: [] +};