nuxt-headlessui-float
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Nuxt HeadlessUi Float

npm version npm downloads License Nuxt

Nuxt module wrapper for the @headlessui-float/vue package.

Quick Setup

  1. Add nuxt-headlessui-float dependency to your project
# Using pnpm
pnpm add -D nuxt-headlessui-float

# Using yarn
yarn add --dev nuxt-headlessui-float

# Using npm
npm install --save-dev nuxt-headlessui-float
  1. Add nuxt-headlessui-float to the modules section of nuxt.config.ts
export default defineNuxtConfig({
  modules: [
    [
      'nuxt-headlessui-float',
      {
        prefix: 'Headless', // optional settings, remove to leave as the default "Headless"
      },
    ],

  ]
})

Usage

You will now have the <HeadlessFloat> component available in your Nuxt app.

See the @headlessui-float/vue package for documentation

Development

# Install dependencies
npm install

# Generate type stubs
npm run dev:prepare

# Develop with the playground
npm run dev

# Build the playground
npm run dev:build

# Run ESLint
npm run lint

# Run Vitest
npm run test
npm run test:watch

# Release new version
npm run release

Readme

Keywords

none

Package Sidebar

Install

npm i nuxt-headlessui-float

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

4.95 kB

Total Files

7

Last publish

Collaborators

  • ianjamieson