Socket
Socket
Sign inDemoInstall

astro-flowbite

Package Overview
Dependencies
3
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    astro-flowbite

astro-flowbite lets you easly plugin flowbite in Astro.


Version published
Maintainers
1
Created

Readme

Source

astro-flowbite Plugin

astro-flowbite lets you easly plugin flowbite in Astro.

<html lang="en">
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width" />
		<title>Astro + flowbite</title>
	</head>
	<body>
		<div class="container mx-auto p-4">
			<h1>Hello, Astro + Flowbite!</h1>
			<p>This is a simple test.</p>
		</div>
	</body>
</html>

Usage

Install astro-flowbite to your project.

# Using NPM
npm i astro-flowbite
# Using Bun
bun add astro-flowbite
# Using Yarn
yarn add astro-flowbite
# Using PNPM
pnpm add astro-flowbite

Add astro-flowbite to your Tailwind configuration.

  • tailwind.config.js
import flowbite from 'astro-flowbite'

/** @type {import('tailwindcss').Config} */
export default {
	content: [
		'./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}',
    './node_modules/flowbite/**/*.js',
	],
	theme: {
		extend: {},
	},
	plugins: [flowbite()],
}

Enjoy!

Keywords

FAQs

Last updated on 21 Dec 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc