Modals logic for Nuxt 3
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'
]
})
Check the playground.
Make sure to install the dependencies :
pnpm install
Start the development server on http://localhost:3000 :
pnpm dev
Made with 💙
Published under the MIT License.