antd-dayjs-vite-plugin
v2.0.0
Published
Day.js vite plugin for Ant Design (antd)
Downloads
2,538
Maintainers
Readme
A Vite port of antd-dayjs-webpack-plugin. Day.js vite plugin for Ant Design (antd).
Usage
Install via yarn add antd-dayjs-vite-plugin
.
In your vite.confg.ts
:
import { antdDayjs } from 'antd-dayjs-vite-plugin';
export default defineConfig({
plugins: [/**/, antdDayjs()],
// ...
}
Configuration
All options are the same as for antd-dayjs-webpack-plugin. Check the README of antd-dayjs-webpack-plugin for more details.