We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ref()
1 parent 1a4460f commit b8aff95Copy full SHA for b8aff95
docs/.vitepress/theme/index.ts
@@ -1,5 +1,7 @@
1
import DefaultTheme from "vitepress/theme";
2
3
+import { ref } from "vue";
4
+import { version as vueVersion } from "vue/package.json";
5
import * as yup from "yup";
6
import { version as yupVersion } from "yup/package.json";
7
import * as vueYupForm from "../../../src/index";
@@ -9,12 +11,13 @@ import "./styles/vars.css";
9
11
10
12
import CodeSandbox from "../../components/CodeSandbox.vue";
13
-Object.assign(globalThis, { yup }, vueYupForm);
14
+Object.assign(globalThis, { ref }, { yup }, vueYupForm);
15
16
console.info(
17
"%cFeel free to try sample codes here",
18
"background: #222; color: #EE6A55"
19
);
20
+console.info(`vue version: ${vueVersion}`);
21
console.info(`yup version: ${yupVersion}`);
22
console.info(`vue-yup-form version: ${vueYupFormVersion}`);
23
0 commit comments