add pinia colada dev tools

This commit is contained in:
Gauthier Roebroeck 2025-08-06 14:11:28 +08:00
parent 573b790478
commit eed22ad9bd
3 changed files with 15 additions and 0 deletions

View file

@ -26,6 +26,7 @@
"@eslint/js": "^9.32.0",
"@formatjs/cli": "^6.7.2",
"@iconify-json/mdi": "^1.2.3",
"@pinia/colada-devtools": "^0.1.5",
"@storybook/addon-a11y": "^9.0.18",
"@storybook/addon-docs": "^9.0.18",
"@storybook/addon-themes": "^9.0.18",
@ -2068,6 +2069,16 @@
"pinia": "^2.2.6 || ^3.0.0"
}
},
"node_modules/@pinia/colada-devtools": {
"version": "0.1.5",
"resolved": "https://registry.npmjs.org/@pinia/colada-devtools/-/colada-devtools-0.1.5.tgz",
"integrity": "sha512-KqWS6Uu8cOO6LTwbA5TxrMpExmZdffJiBYTDkp1l87JNNQ+Kj6tuYyrC3MuYz2ZY+OpwDGWX7IHlkDEaCu+PYQ==",
"dev": true,
"license": "MIT",
"funding": {
"url": "https://github.com/sponsors/posva"
}
},
"node_modules/@pinia/colada-plugin-auto-refetch": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/@pinia/colada-plugin-auto-refetch/-/colada-plugin-auto-refetch-0.2.0.tgz",

View file

@ -46,6 +46,7 @@
"@eslint/js": "^9.32.0",
"@formatjs/cli": "^6.7.2",
"@iconify-json/mdi": "^1.2.3",
"@pinia/colada-devtools": "^0.1.5",
"@storybook/addon-a11y": "^9.0.18",
"@storybook/addon-docs": "^9.0.18",
"@storybook/addon-themes": "^9.0.18",

View file

@ -6,9 +6,12 @@
<FragmentDialogConfirmEdit />
<FragmentDialogConfirm />
</v-app>
<PiniaColadaDevtools />
</template>
<script lang="ts" setup>
import { PiniaColadaDevtools } from '@pinia/colada-devtools'
import { useThemeWatcher } from '@/composables/themeWatcher'
useThemeWatcher()