1 Star 0 Fork 257

smile/vue3-antd-admin

forked from buqiyuan/vue3-antdv-admin 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
windi.config.ts 1.05 KB
一键复制 编辑 原始数据 按行查看 历史
buqiyuan 提交于 2022-11-28 09:56 . feat: support iframe page
// @ts-check - enable TS check for js file
import { defineConfig } from 'windicss/helpers';
import colors from 'windicss/colors';
import { baseConfig } from 'windicss/config';
// https://windicss.org/features/
export default defineConfig({
darkMode: 'class', // or 'media'
shortcuts: {
'wh-full': 'w-full h-full',
'flex-center': 'flex justify-center items-center',
'flex-col-center': 'flex-center flex-col',
'flex-x-center': 'flex justify-center',
'flex-y-center': 'flex items-center',
'fixed-center': 'fixed-lt flex-center wh-full',
'nowrap-hidden': 'whitespace-nowrap overflow-hidden',
'ellipsis-text': 'nowrap-hidden overflow-ellipsis',
},
theme: {
extend: {
screens: {
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
'2xl': '1536px',
},
colors: {
gray: colors.gray,
blue: colors.sky,
red: colors.rose,
pink: colors.fuchsia,
},
},
cursor: {
...baseConfig.theme?.cursor,
'zoom-in': 'zoom-in',
},
},
});
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/zxs754747495/vue3-antd-admin.git
git@gitee.com:zxs754747495/vue3-antd-admin.git
zxs754747495
vue3-antd-admin
vue3-antd-admin
main

搜索帮助