diff --git a/README.md b/README.md index 3a963174..32025653 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ export default defineComponent({ ``` -For Nuxt 3, create a file in `plugins/v-offline.ts` +For Nuxt 3, create a file in `plugins/v-offline.client.ts` ```js import { VOffline } from 'v-offline'; @@ -113,20 +113,6 @@ export default defineNuxtPlugin((nuxtApp) => { }); ``` -then import the file in `nuxt.config.{j|t}s`: - -```js -export default { - // ... - plugins: [ - // ... - { src: '~/plugins/v-offline', mode: 'client' }, - // ... - ], - // ... -}; -``` - ### Example ```html