chore: eslint.config.ts
This commit is contained in:
@ -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(),
|
||||
|
Reference in New Issue
Block a user