Skip to content

Commit

Permalink
Pkg - Edit README
Browse files Browse the repository at this point in the history
  • Loading branch information
smastrom committed Feb 5, 2024
1 parent 2c3604d commit fdac118
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,14 @@ app.mount('#app')

```vue
<script setup>
import { Notivue, Notifications, push } from 'notivue'
import { Notivue, Notification, push } from 'notivue'
</script>
<template>
<button @click="push.success('Hello from your first notification!')">Push</button>
<Notivue v-slot="item">
<Notifications :item="item" />
<Notification :item="item" />
</Notivue>
<!-- RouterView, etc. -->
Expand Down Expand Up @@ -173,7 +173,7 @@ export default defineNuxtConfig({
<button @click="push.success('Hello from your first notification!')">Push</button>
<Notivue v-slot="item">
<Notifications :item="item" />
<Notification :item="item" />
</Notivue>
<!-- NuxtLayout, NuxtPage, etc. -->
Expand Down

0 comments on commit fdac118

Please sign in to comment.