0.1.2 • Published 4 years ago
vite-plugin-antd-import v0.1.2
@vitejs/plugin-antd-import
Automatically import the corresponding style file when importing components.
How to use
Install:
# npm
npm install -D @vitejs/plugin-antd-import
# yarn
yarn add -D @vitejs/plugin-antd-import
Usage:
import antdImportPlugin from '@vitejs/plugin-antd-import';
// vite.config.ts
export default {
plugins: [antdImportPlugin()]
}