wobsoriano / vue-clerk

Unofficial Vue + Clerk integration.
https://vue-clerk.com
MIT License
108 stars 8 forks source link

feat(docs): Add reminder for Nuxt plugin filename suffix #28

Closed jeremy93-2008 closed 2 months ago

jeremy93-2008 commented 4 months ago

This commit improves the documentation by adding a helpful reminder for fellow developers using Nuxt.js. It suggests appending .client.js or .client.ts to plugin filenames, ensuring Nuxt.js loads them only upon Vue's mounting, thus sidestepping server-side loading. Drawing from my own experience, I encountered and solved this common issue.

Motivation:

The motivation behind this addition is to address a common pitfall encountered by developers when working with Nuxt.js. Without the proper filename suffix, plugins may inadvertently be loaded on the server side, and crash the application.

vercel[bot] commented 4 months ago

Someone is attempting to deploy a commit to a Personal Account owned by @wobsoriano on Vercel.

@wobsoriano first needs to authorize it.