<p> <a href="https://www.npmjs.com/package/nuxt3-notifications" target="_blank"><img src="https://img.shields.io/npm/v/nuxt3-notifications" alt="Version"></a> <a href="https://www.npmjs.com/package/nuxt3-notifications" target="_blank"><img src="https:
npm install nuxt3-notificationsThis is module @kyvg/vue3-notification for Nuxt3
1. Install nuxt3-notifications as project dependency:
``bash`
npm install --save-dev nuxt3-notifications # npm
yarn add -D nuxt3-notifications # yarn classic
pnpm i -D nuxt3-notifications # pnpm
2. Add it to the modules section of your nuxt.config:
`ts`
export default defineNuxtConfig({
modules: ['nuxt3-notifications'],
});
`html`
`html
`
`ts`
export default defineNuxtConfig({
modules: ['nuxt3-notifications'],
nuxtNotifications: {
componentName: 'Foo' // 'foo-bar' or 'FooBar' for components of two or more words
},
});
- Fork and clone windx-foobar/nuxt3-notifications
- Enable corepack using corepack enable (use npm i -g corepack for Node.js < 16.10)
- Install dependencies using pnpm installpnpm dev:prepare
- Run to generate type stubs.pnpm dev` to start playground in
- Use
development mode.