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.
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.