Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

Commit

Permalink
docs: fix plugin usage warning block
Browse files Browse the repository at this point in the history
  • Loading branch information
wobsoriano committed May 8, 2024
1 parent f4c7eb0 commit 4a8e5fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ The plugin provides your application the active session and user context to Cler
## Usage

::: warning
When using Nuxt, ensure that your plugin filenames are suffixed with `.client.js` or `.client.ts`. This practice ensures that Nuxt will load them only when Vue is mounted and ready on the client, preventing them from being loaded on the server side.:::
When using Nuxt, ensure that your plugin filenames are suffixed with `.client.js` or `.client.ts`. This practice ensures that Nuxt will load them only when Vue is mounted and ready on the client, preventing them from being loaded on the server side.
:::

```ts
import { createApp } from 'vue'
Expand Down

0 comments on commit 4a8e5fb

Please sign in to comment.