新增 XSLPrintDot 项目,包含打印服务的核心功能和相关配置。实现打印机查询、打印任务处理、远程转发功能,并支持多平台设备ID获取。优化打印数据准备逻辑,增强系统的可维护性和扩展性,同时更新工作区配置以支持新项目。
This commit is contained in:
23
XSLPrintDot/frontend/vite.config.ts
Normal file
23
XSLPrintDot/frontend/vite.config.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
import Icons from 'unplugin-icons/vite'
|
||||
import Components from 'unplugin-vue-components/vite'
|
||||
import IconsResolver from 'unplugin-icons/resolver'
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
vue(),
|
||||
Components({
|
||||
resolvers: [
|
||||
IconsResolver({
|
||||
prefix: 'i', // Prefix for components, e.g. <i-material-symbols-print />
|
||||
enabledCollections: ['material-symbols']
|
||||
})
|
||||
]
|
||||
}),
|
||||
Icons({
|
||||
autoInstall: true
|
||||
})
|
||||
]
|
||||
})
|
||||
Reference in New Issue
Block a user