diff --git a/package.json b/package.json
index ac5116f5..cfc482d9 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,5 @@
{
- "version": "1.1.3",
+ "version": "1.1.4",
"private": true,
"packageManager": "pnpm@8.6.3",
"engines": {
@@ -24,7 +24,7 @@
"pretty-quick": "^3.1.3",
"rimraf": "^4.4.1",
"typescript": "^4.9.5",
- "vite": "^4.4.7",
+ "vite": "^4.4.8",
"vue": "^3.3.4",
"vue-tsc": "^1.8.8"
}
diff --git a/packages/notivue/Notivue/composables/useFocusEvents.ts b/packages/notivue/Notivue/composables/useFocusEvents.ts
index fb3a0504..c09a2673 100644
--- a/packages/notivue/Notivue/composables/useFocusEvents.ts
+++ b/packages/notivue/Notivue/composables/useFocusEvents.ts
@@ -1,7 +1,6 @@
import { watch } from 'vue'
import { useElements, useItems } from '@/core/useStore'
-import { isSSR } from '@/core/utils'
export function useFocusEvents() {
const items = useItems()
@@ -16,8 +15,6 @@ export function useFocusEvents() {
watch(
elements.items.value,
(newItems) => {
- if (isSSR) return
-
buttonSet.forEach((button) => {
if (!elements.wrapper.value?.contains(button)) buttonSet.delete(button)
})
diff --git a/packages/notivue/README.md b/packages/notivue/README.md
index 0f994c70..856bdfe8 100644
--- a/packages/notivue/README.md
+++ b/packages/notivue/README.md
@@ -48,29 +48,31 @@ pnpm add notivue
-## Vite / Vue CLI
+## Vite
### 1. Configure
**main.js/ts**
-```js
+```diff
import { createApp } from 'vue'
-import { notivue } from 'notivue'
++ import { notivue } from 'notivue'
import App from './App.vue'
-import 'notivue/notifications.css' // Only needed if using built-in notifications
-import 'notivue/animations.css' // Only needed if using built-in animations
++ import 'notivue/notifications.css' // Only needed if using built-in notifications
++ import 'notivue/animations.css' // Only needed if using built-in animations
const app = createApp(App)
-app.use(notivue)
++ app.use(notivue)
app.mount('#app')
```
**App.vue**
+With built-in notifications:
+
```vue