mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-10-12 21:03:42 +08:00
build(deps): 添加多种插件:element-plus、iconify、windicss
This commit is contained in:
12
build/plugins/html.ts
Normal file
12
build/plugins/html.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { minifyHtml, injectHtml } from 'vite-plugin-html'; // html插件(使用变量、压缩)
|
||||
import viteEnv from '../env';
|
||||
|
||||
export default [
|
||||
minifyHtml(),
|
||||
injectHtml({
|
||||
injectData: {
|
||||
title: viteEnv.VITE_APP_TITLE,
|
||||
appName: viteEnv.VITE_APP_TITLE_Label
|
||||
}
|
||||
})
|
||||
];
|
Reference in New Issue
Block a user