File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
1
import DefaultTheme from "vitepress/theme" ;
2
2
3
+ import { ref } from "vue" ;
4
+ import { version as vueVersion } from "vue/package.json" ;
3
5
import * as yup from "yup" ;
4
6
import { version as yupVersion } from "yup/package.json" ;
5
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" ;
11
13
12
- Object . assign ( globalThis , { yup } , vueYupForm ) ;
14
+ Object . assign ( globalThis , { ref } , { yup } , vueYupForm ) ;
13
15
14
16
console . info (
15
17
"%cFeel free to try sample codes here" ,
16
18
"background: #222; color: #EE6A55"
17
19
) ;
20
+ console . info ( `vue version: ${ vueVersion } ` ) ;
18
21
console . info ( `yup version: ${ yupVersion } ` ) ;
19
22
console . info ( `vue-yup-form version: ${ vueYupFormVersion } ` ) ;
20
23
You can’t perform that action at this time.
0 commit comments