chore: Update project version and theme configuration

This commit is contained in:
wangxuefeng 2025-02-06 16:26:15 +08:00
parent 7205868368
commit e193238a54
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "y-code",
"version": "0.0.0",
"version": "2.0.0",
"private": true,
"type": "module",
"scripts": {

View File

@ -4,6 +4,9 @@ import { legacyLogicalPropertiesTransformer, StyleProvider, ConfigProvider, them
import dayjs from 'dayjs';
import 'dayjs/locale/zh-cn';
const { compactAlgorithm } = theme;
dayjs.locale('zh-cn');
ConfigProvider.config({
@ -14,7 +17,7 @@ ConfigProvider.config({
<template>
<a-config-provider
:theme="{
algorithm: theme.compactAlgorithm,
algorithm: [ compactAlgorithm],
}"
:locale="zhCN"
:transformers="[legacyLogicalPropertiesTransformer]"