Download internal/vite-config/src/plugins/vxe-table.ts from binhugg3/admin: direct link, hf CLI and curl.
- Browser
- Download file 429 Bytes
-
https://huggingface.co/spaces/binhugg3/admin/resolve/main/internal/vite-config/src/plugins/vxe-table.ts
- Command line
-
hf download hf://spaces/binhugg3/admin/internal/vite-config/src/plugins/vxe-table.ts
-
curl -L -o vxe-table.ts https://huggingface.co/spaces/binhugg3/admin/resolve/main/internal/vite-config/src/plugins/vxe-table.ts
429 Bytes
| import type { PluginOption } from 'vite'; | |
| import { lazyImport, VxeResolver } from 'vite-plugin-lazy-import'; | |
| async function viteVxeTableImportsPlugin(): Promise<PluginOption> { | |
| return [ | |
| lazyImport({ | |
| resolvers: [ | |
| VxeResolver({ | |
| libraryName: 'vxe-table', | |
| }), | |
| VxeResolver({ | |
| libraryName: 'vxe-pc-ui', | |
| }), | |
| ], | |
| }), | |
| ]; | |
| } | |
| export { viteVxeTableImportsPlugin }; | |