Installation,
Latest version (Using NPM)
npm install flowbite
Creating a "tailwind.config.js" file, put this code:
module.exports = {
plugins: [
require('flowbite/plugin')
]
content: [
"./node_modules/flowbite/**/*.js"
]
}
Require the JavaScript code that powers the interactive elements before the end of your *body * tag:
<script src="../path/to/flowbite/dist/flowbite.min.js"></script>
or include via CDN (not recommended)
If you want to quickly test out Flowbite you can easily include the following CSS and JavaScript files.
<link href="https://cdnjs.cloudflare.com/ajax/libs/flowbite/2.3.0/flowbite.min.css" rel="stylesheet" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/flowbite/2.3.0/flowbite.min.js"></script>
Top comments (0)