nuxt3-notifications
109,422
29
| Install | |
|---|---|
npm install nuxt3-notifications |
|
| Latest Version: | 1.4.0 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Feb 20, 2026 |
| Links: | GitHub · npm |
Maintainer: windx-foobar
Nuxt3 Notifications Module
This is module @kyvg/vue3-notification for Nuxt3
📦 Get Started
- Install
nuxt3-notificationsas project dependency:
npm install --save-dev nuxt3-notifications # npm
yarn add -D nuxt3-notifications # yarn classic
pnpm i -D nuxt3-notifications # pnpm
- Add it to the
modulessection of yournuxt.config:
export default defineNuxtConfig({
modules: ['nuxt3-notifications'],
});
🚀 Example
<!-- app.vue -->
<template>
<NuxtNotifications position="bottom left" :speed="500" />
</template>
<!-- page.vue/component.vue -->
<script setup>
const { notify } = useNotification();
function onClick() {
notify({
title: "Title",
text: "Hello notify!",
});
}
</script>
<template>
<button @click="onClick">Show notify</button>
</template>
🔨 Config
export default defineNuxtConfig({
modules: ['nuxt3-notifications'],
nuxtNotifications: {
componentName: 'Foo', // 'foo-bar' or 'FooBar' for components of two or more words
composableName: 'useFoo',
},
});
💻 Development
- 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 install - Run
pnpm dev:prepareto generate type stubs. - Use
pnpm devto start playground in development mode.
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 1.4.0 | MIT | |
| 1.3.1 | MIT | |
| 1.3.0 | MIT | |
| 1.2.3 | MIT | |
| 1.2.2 | MIT | |
| 1.2.1 | MIT | |
| 1.2.0 | MIT | |
| 1.1.9 | MIT | |
| 1.1.8 | MIT | |
| 1.1.7 | MIT | |
| 1.1.6 | MIT | |
| 1.1.5 | MIT | |
| 1.1.4 | MIT | |
| 1.1.1 | MIT | |
| 1.0.2 | MIT |