adding tailwind & flowbite integration

This commit is contained in:
2023-12-07 19:04:53 +01:00
parent c4ce652ab3
commit a9ed1691f2
3 changed files with 19 additions and 0 deletions

View File

@@ -39,5 +39,6 @@
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
<script src="../path/to/flowbite/dist/flowbite.min.js"></script>
</body>
</html>

View File

@@ -11,3 +11,7 @@ code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
}
@tailwind base;
@tailwind components;
@tailwind utilities;

14
webapp/tailwind.config.js Normal file
View File

@@ -0,0 +1,14 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/**/*.{js,jsx,ts,tsx}",
"./node_modules/flowbite/**/*.js"
],
theme: {
extend: {},
},
plugins: [
require('flowbite/plugin')
],
}