Skip to content

Commit 5d990df

Browse files
committed
refactor: switch examples imports
1 parent d4193e9 commit 5d990df

File tree

13 files changed

+576
-13
lines changed

13 files changed

+576
-13
lines changed

examples/basic-vue-2.x/package-lock.json

Lines changed: 186 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/basic-vue-2.x/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
},
88
"dependencies": {
99
"@vue/composition-api": "^1.0.0-rc.6",
10-
"vue": "^2.6.12"
10+
"vue": "^2.6.12",
11+
"vue-react-query": "^0.3.0"
1112
},
1213
"devDependencies": {
1314
"typescript": "^4.2.4",

examples/basic-vue-2.x/src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import { defineComponent } from "@vue/composition-api";
3-
import { useQuery } from "../../../lib";
3+
import { useQuery } from "vue-react-query";
44
55
interface Todo {
66
userId: number;

examples/basic-vue-2.x/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { createApp, h } from "@vue/composition-api";
33
import VueCompositionApi from "@vue/composition-api";
44

55
import App from "./App.vue";
6-
import { QueryClient, VUE_QUERY_CLIENT } from "../../../lib";
6+
import { QueryClient, VUE_QUERY_CLIENT } from "vue-react-query";
77

88
Vue.use(VueCompositionApi);
99

0 commit comments

Comments
 (0)