chore: eslint.config.ts
All checks were successful
/ depcheck (push) Successful in 2m12s
/ build-and-deploy-to-vercel (push) Successful in 2m22s
/ surge (push) Successful in 1m53s
/ playwright (push) Successful in 3m18s

This commit is contained in:
mini2024
2025-03-01 18:20:11 +08:00
parent 94b71c5c47
commit c7047146e4
13 changed files with 135 additions and 44 deletions

View File

@ -1,6 +1,6 @@
// https://github.dev/unocss/unocss/tree/main/examples/vite-vue3
import { defineConfig, presetAttributify, presetWind3, transformerDirectives, transformerVariantGroup } from 'unocss';
import presetChinese, { chineseTypography } from 'unocss-preset-chinese';
// import presetChinese, { chineseTypography } from 'unocss-preset-chinese';
export default defineConfig({
theme: {
@ -56,10 +56,10 @@ export default defineConfig({
dark: '.app-dark',
},
}),
chineseTypography(),
presetChinese({
chineseType: 'simplified', // 指定文本为简体中文
}),
// chineseTypography(),
// presetChinese({
// chineseType: 'simplified', // 指定文本为简体中文
// }),
// https://unocss.dev/presets/attributify
presetAttributify(),