Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"@vueuse/core": "^10.7.2",
"@vueuse/integrations": "^11.1.0",
"@vvo/tzdb": "^6.4.1",
"console-vue-query-devtools-sdk": "^0.0.16",
"animated-number-vue": "^1.0.0",
"axios": "^1.8.2",
"axios-auth-refresh": "^3.2.2",
Expand Down
5 changes: 2 additions & 3 deletions apps/web/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import type { Location } from 'vue-router';
import { useRoute, useRouter } from 'vue-router/composables';

import { useQueryClient } from '@tanstack/vue-query';
import { ConsoleVueQueryDevtools } from 'console-vue-query-devtools-sdk';

import { LocalStorageAccessor } from '@cloudforet/core-lib/local-storage-accessor';
import {
Expand Down Expand Up @@ -40,8 +41,6 @@ import MobileGuideModal from '@/services/auth/components/MobileGuideModal.vue';
import { AUTH_ROUTE } from '@/services/auth/routes/route-constant';
import { LANDING_ROUTE } from '@/services/landing/routes/route-constant';



if (import.meta.env.DEV) {
const queryClient = useQueryClient();
import('@/_dev-tools/vue-query-console-debug').then((mod) => mod.initVueQueryConsoleDebug(queryClient))
Expand All @@ -51,7 +50,6 @@ if (import.meta.env.DEV) {
});
}


const router = useRouter();
const route = useRoute();

Expand Down Expand Up @@ -120,6 +118,7 @@ watch(() => state.userId, (userId) => {
<div v-cloak
id="app"
>
<console-vue-query-devtools />
Copy link

Copilot AI May 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider conditionally rendering the component using a check (e.g., v-if="import.meta.env.DEV") to ensure that it is only enabled during development.

Suggested change
<console-vue-query-devtools />
<console-vue-query-devtools v-if="import.meta.env.DEV" />

Copilot uses AI. Check for mistakes.
<template v-if="displayStore.state.isInitialized">
<p-notice-alert group="noticeTopLeft" />
<p-notice-alert group="noticeTopRight" />
Expand Down
17 changes: 17 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading