From 3dc03b1cfa02d04116632d638ba9078c46b340c3 Mon Sep 17 00:00:00 2001 From: Christopher Reeve Date: Thu, 6 Oct 2022 09:16:11 +0700 Subject: [PATCH] chore: update readme, add migration steps this pr add a clear migration steps from v2 to @tanstack/vue-query --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index b73b561..59bf109 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,15 @@ If you are still on `v1` make sure to follow [migration guide](https://vue-query If you are already on `v2`, just swap `vue-query` for `@tanstack/vue-query` in both of your `package.json` and `import` statements. Everything should still work as before. +steps to move to `@tanstack/vue-query` from `vue-query` v2 + +1. delete your `node_modules` +2. delete your `lock` file +3. remove `vue-query` from your package-json +4. install deps +5. install `@tanstack/vue-query` +6. change all `vue-query` import to `@tanstack/vue-query` + # Vue Query Hooks for fetching, caching and updating asynchronous data in Vue.