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.
Files changed (2) hide show
  1. package/README.md +9 -0
  2. 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`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hisonvue",
3
- "version": "1.1.11",
3
+ "version": "1.1.12",
4
4
  "main": "./dist/hisonvue.cjs.js",
5
5
  "module": "./dist/hisonvue.es.js",
6
6
  "types": "./dist/hisonvue.d.ts",