first commit

This commit is contained in:
muzi
2025-06-16 14:42:26 +08:00
commit 6f06721506
149 changed files with 56883 additions and 0 deletions

14
config/unplugin/icons.ts Normal file
View File

@ -0,0 +1,14 @@
/**
* 自动引入 svg 图标
* */
import Icons from 'unplugin-icons/vite';
import { FileSystemIconLoader } from 'unplugin-icons/loaders';
export function configIcons() {
return Icons({
compiler: 'vue3',
customCollections: {
i: FileSystemIconLoader('./src/assets', (svg) => svg.replace(/^<svg /, '<svg class="eo-i" ')),
},
});
}