Configure Tailwind CSS, add some helper scripts
Krzysztof Andrzej Sikorski

Krzysztof Andrzej Sikorski commited on 2022-04-28 04:17:58
Showing 4 changed files, with 18 additions and 0 deletions.

... ...
@@ -0,0 +1,2 @@
1
+#!/usr/bin/env sh
2
+npx tailwindcss --input=src/input.css --output=public/css/combined.css --watch
... ...
@@ -0,0 +1,2 @@
1
+#!/usr/bin/env sh
2
+npx tailwindcss --input=src/input.css --output=public/css/combined.css --minify
... ...
@@ -0,0 +1,3 @@
1
+@tailwind base;
2
+@tailwind components;
3
+@tailwind utilities;
... ...
@@ -0,0 +1,11 @@
1
+module.exports = {
2
+    content: [
3
+        "src/**/*.css",
4
+        "public/index.html"
5
+    ],
6
+    theme: {
7
+        extend: {},
8
+    },
9
+    plugins: [],
10
+    prefix: "tw-"
11
+}
0 12