refactor(projects): 代码优化

This commit is contained in:
Soybean
2022-05-09 20:46:27 +08:00
parent 92b8406444
commit 3590b65e22
11 changed files with 189 additions and 168 deletions

View File

@ -1,8 +1,8 @@
import { defineConfig, presetMini } from 'unocss';
import { defineConfig, presetUno } from 'unocss';
export default defineConfig({
exclude: ['node_modules', '.git', './stats.html'],
presets: [presetMini({ dark: 'class' })],
presets: [presetUno({ dark: 'class' })],
shortcuts: {
'wh-full': 'w-full h-full',
'flex-center': 'flex justify-center items-center',