build: 集成基础配置

This commit is contained in:
陈凯龙
2021-12-07 16:36:16 +08:00
parent 1ae75500de
commit 5dbcf2397c
26 changed files with 7873 additions and 14 deletions

12
windi.config.ts Normal file
View File

@@ -0,0 +1,12 @@
import { defineConfig } from 'vite-plugin-windicss'
export default defineConfig({
extract: {
include: ['src/**/*.{vue,html,jsx,tsx}'],
exclude: ['node_modules', '.git']
},
darkMode: 'class',
attributify: {
prefix: 'v:'
}
})