vite-plugin-antd-import
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

@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()]
}

Readme

Keywords

none

Package Sidebar

Install

npm i vite-plugin-antd-import

Weekly Downloads

8

Version

0.1.2

License

MIT

Unpacked Size

2.06 kB

Total Files

4

Last publish

Collaborators

  • lijiahaocoder