Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Latest commit

 

History

History
63 lines (44 loc) · 1.4 KB

README.md

File metadata and controls

63 lines (44 loc) · 1.4 KB

Nuxt Modals

npm version npm downloads Github Actions

Modals logic for Nuxt 3

Setup

Add @kevinmarrec/nuxt-modals dependency to your project :

# Using Yarn
yarn add -D @kevinmarrec/nuxt-modals
# Using NPM
npm install -D @kevinmarrec/nuxt-modals
# Using PNPM
pnpm install -D @kevinmarrec/nuxt-modals

Edit your nuxt.config.ts file to add Modals module :

export default defineNuxtConfig({
  modules: [
    '@kevinmarrec/nuxt-modals'
  ]
})

Usage

Check the playground.

Development

Make sure to install the dependencies :

pnpm install

Start the development server on http://localhost:3000 :

pnpm dev

License

Made with 💙

Published under the MIT License.