From f7d591e9f82152ec26958c791d3aaf2e75b73d3f Mon Sep 17 00:00:00 2001 From: Kentai Radiquum Date: Sun, 19 May 2024 13:53:38 +0500 Subject: [PATCH] add tailwind and flowbite --- index.html | 15 +++++++++++++++ package-lock.json | 29 +++++++++++++++++++++++++++++ package.json | 3 +++ public/output.css | 0 src/input.css | 3 +++ tailwind.config.js | 7 +++---- 6 files changed, 53 insertions(+), 4 deletions(-) create mode 100644 index.html create mode 100644 public/output.css create mode 100644 src/input.css diff --git a/index.html b/index.html new file mode 100644 index 0000000..7f65786 --- /dev/null +++ b/index.html @@ -0,0 +1,15 @@ + + + + + + + wah.su + + + + + + + + \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 5cefded..a6a3d60 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,6 +4,9 @@ "requires": true, "packages": { "": { + "dependencies": { + "flowbite": "^2.3.0" + }, "devDependencies": { "tailwindcss": "^3.4.3" } @@ -130,6 +133,15 @@ "node": ">=14" } }, + "node_modules/@popperjs/core": { + "version": "2.11.8", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", + "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } + }, "node_modules/ansi-regex": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", @@ -389,6 +401,15 @@ "node": ">=8" } }, + "node_modules/flowbite": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/flowbite/-/flowbite-2.3.0.tgz", + "integrity": "sha512-pm3JRo8OIJHGfFYWgaGpPv8E+UdWy0Z3gEAGufw+G/1dusaU/P1zoBLiQpf2/+bYAi+GBQtPVG86KYlV0W+AFQ==", + "dependencies": { + "@popperjs/core": "^2.9.3", + "mini-svg-data-uri": "^1.4.3" + } + }, "node_modules/foreground-child": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", @@ -616,6 +637,14 @@ "node": ">=8.6" } }, + "node_modules/mini-svg-data-uri": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/mini-svg-data-uri/-/mini-svg-data-uri-1.4.4.tgz", + "integrity": "sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg==", + "bin": { + "mini-svg-data-uri": "cli.js" + } + }, "node_modules/minimatch": { "version": "9.0.4", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz", diff --git a/package.json b/package.json index af38bdf..a049578 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,8 @@ { "devDependencies": { "tailwindcss": "^3.4.3" + }, + "dependencies": { + "flowbite": "^2.3.0" } } diff --git a/public/output.css b/public/output.css new file mode 100644 index 0000000..e69de29 diff --git a/src/input.css b/src/input.css new file mode 100644 index 0000000..b5c61c9 --- /dev/null +++ b/src/input.css @@ -0,0 +1,3 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; diff --git a/tailwind.config.js b/tailwind.config.js index d947ab1..0c7da11 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,9 +1,8 @@ /** @type {import('tailwindcss').Config} */ module.exports = { - content: [], + content: ["./src/**/*.{html,js}", "./node_modules/flowbite/**/*.js"], theme: { extend: {}, }, - plugins: [], -} - + plugins: [require("flowbite/plugin")], +};