chore: 初始化前端仓库并迁移 admin-ui
- 创建 rui-frontend 前端仓库 - 迁移 admin-ui 管理后台 - 创建 cashier-mobile 和 customer-mobile 占位项目 - 配置 pnpm workspace
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import { defineConfig, presetUno, presetAttributify, presetIcons } from 'unocss'
|
||||
|
||||
export default defineConfig({
|
||||
presets: [
|
||||
presetUno(),
|
||||
presetAttributify(),
|
||||
presetIcons(),
|
||||
],
|
||||
shortcuts: {
|
||||
'btn': 'px-4 py-2 rounded cursor-pointer inline-flex items-center gap-2',
|
||||
'btn-primary': 'btn bg-blue-500 text-white hover:bg-blue-600',
|
||||
'btn-danger': 'btn bg-red-500 text-white hover:bg-red-600',
|
||||
'card': 'bg-white rounded-lg shadow p-4',
|
||||
'page-container': 'p-4',
|
||||
},
|
||||
theme: {
|
||||
colors: {
|
||||
primary: '#409eff',
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user