@@ -182,7 +182,7 @@ const props = defineProps({
default: false
},
chartStyles: {
- type: Object as PropType<Omit<PickCreateComponentType<'styles'>, 'animations' | 'animationsOpen' | 'animationsCirculate' | 'animationsCurve' | 'animationsDirection' | 'circulatePlayTime' | 'circulateDelayTime'>>,
+ type: Object,
required: true
}
})
@@ -47,7 +47,7 @@ export default ({ mode }) => defineConfig({
server: {
host: true,
open: true,
- port: 3000,
+ port: Number(loadEnv(mode, process.cwd()).VITE_DEV_PORT),
proxy: {
[axiosPre]: {
// @ts-ignore