<!-- 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>
export default defineNuxtConfig({ modules: ['nuxt3-notifications'], nuxtNotifications: { componentName: 'Foo' // 'foo-bar' or 'FooBar' for components of two or more words }, });
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4