feat: tanstack query demos (#4276)

* chore(@vben/request): add axios-retry

* feat: error retry

* feat: paginated queries

* feat: infinite queries

* chore: update

* chore: update

* fix: ci error

* chore: update

* chore: remove axios-retry

* chore: update deps

* chore: update deps

* chore: update deps

* chore: update pnpm.lock

---------

Co-authored-by: vince <vince292007@gmail.com>
This commit is contained in:
Li Kui
2024-09-08 19:39:19 +08:00
committed by GitHub
parent 56e66193fc
commit 86ed732ca8
9 changed files with 239 additions and 0 deletions

View File

@@ -5,6 +5,8 @@ import { initStores } from '@vben/stores';
import '@vben/styles';
import '@vben/styles/antd';
import { VueQueryPlugin } from '@tanstack/vue-query';
import { setupI18n } from '#/locales';
import App from './app.vue';
@@ -25,6 +27,9 @@ async function bootstrap(namespace: string) {
// 配置路由及路由守卫
app.use(router);
// 配置@tanstack/vue-query
app.use(VueQueryPlugin);
app.mount('#app');
}