attaform 0.16.0 → 0.16.1
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 +6 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,12 +18,14 @@ That's it for client-side rendering. Forms render and validate the moment you ca
|
|
|
18
18
|
|
|
19
19
|
### Going further
|
|
20
20
|
|
|
21
|
-
**Nuxt 3 / 4** —
|
|
21
|
+
**Nuxt 3 / 4** — install the Vue plugin via a Nuxt plugin:
|
|
22
22
|
|
|
23
23
|
```ts
|
|
24
|
-
//
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
// plugins/attaform.ts
|
|
25
|
+
import { createAttaform } from 'attaform'
|
|
26
|
+
|
|
27
|
+
export default defineNuxtPlugin((nuxtApp) => {
|
|
28
|
+
nuxtApp.vueApp.use(createAttaform())
|
|
27
29
|
})
|
|
28
30
|
```
|
|
29
31
|
|