hisonvue 1.1.11 → 1.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -88,6 +88,15 @@ export default defineNuxtPlugin((nuxtApp) => {
|
|
|
88
88
|
|
|
89
89
|
✅ Components are globally available in SSR without hydration errors.
|
|
90
90
|
|
|
91
|
+
Add the module and global CSS in your `nuxt.config.ts`:
|
|
92
|
+
|
|
93
|
+
```ts
|
|
94
|
+
export default defineNuxtConfig({
|
|
95
|
+
modules: [
|
|
96
|
+
'hisonvue/nuxt', // ✅ Registers HisonVue (SSR-safe)
|
|
97
|
+
],
|
|
98
|
+
```
|
|
99
|
+
|
|
91
100
|
---
|
|
92
101
|
|
|
93
102
|
### 3️⃣ Runtime control with `hison.component`
|