ice/examples/with-antd/ice.config.mts

24 lines
427 B
TypeScript
Raw Permalink Normal View History

import { defineConfig } from '@ice/app';
import antd from '@ice/plugin-antd';
import moment from '@ice/plugin-moment-locales';
export default defineConfig(() => ({
server: {
onDemand: true,
format: 'esm',
},
plugins: [
antd({
importStyle: true,
dark: true,
compact: true,
theme: {
'blue-base': '#fd8',
},
}),
moment({
locales: ['zh-cn'],
}),
],
}));