You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Detecting if you are using `zod` or `yup` and exposing the `toTypedSchema` suitable for either.
33
+
34
+
<DocTiptype="warning">
35
+
36
+
No types are exposed by default to avoid having conflicts with other libraries, aside from vee-validate's main API components/composables. You can still import them via `vee-validate`.
37
+
38
+
</DocTip>
39
+
40
+
## Getting Started
41
+
42
+
In your nuxt project install the vee-validate nuxt module:
43
+
44
+
```sh
45
+
# npm
46
+
npm i @vee-validate/nuxt
47
+
48
+
# pnpm
49
+
pnpm add @vee-validate/nuxt
50
+
51
+
# yarn
52
+
yarn add @vee-validate/nuxt
53
+
```
54
+
55
+
Then add the module to your `modules` config in `nuxt.config.ts`:
- Detecting if you are using `zod` or `yup` and exposing the `toTypedSchema` suitable for either.
28
+
21
29
## Getting Started
30
+
31
+
In your nuxt project install the vee-validate nuxt module:
32
+
33
+
```sh
34
+
# npm
35
+
npm i @vee-validate/nuxt
36
+
37
+
# pnpm
38
+
pnpm add @vee-validate/nuxt
39
+
40
+
# yarn
41
+
yarn add @vee-validate/nuxt
42
+
```
43
+
44
+
Then add the module to your `modules` config in `nuxt.config.ts`:
45
+
46
+
```ts
47
+
exportdefaultdefineNuxtConfig({
48
+
// ...
49
+
modules: [
50
+
//...
51
+
'@vee-validate/nuxt',
52
+
],
53
+
});
54
+
```
55
+
56
+
## Types
57
+
58
+
No types are exposed by default to avoid having conflicts with other libraries, aside from vee-validate's main API components/composables. You can still import them via `vee-validate`.
0 commit comments