optimize(projects): optimize example code about vtable,vchart

This commit is contained in:
Soybean
2024-11-02 02:48:22 +08:00
parent b9e873e53c
commit d1c6081c25
6 changed files with 6656 additions and 5289 deletions

View File

@@ -1,10 +1,11 @@
import { computed, effectScope, onScopeDispose, ref, watch } from 'vue';
import { useElementSize } from '@vueuse/core';
import VChart, { registerLiquidChart } from '@visactor/vchart';
import type { ISpec, ITheme } from '@visactor/vchart';
import light from '@visactor/vchart-theme/public/light.json';
import dark from '@visactor/vchart-theme/public/dark.json';
import { useElementSize } from '@vueuse/core';
import { useThemeStore } from '@/store/modules/theme';
registerLiquidChart();
// register the theme