@plugin-light/vite-plugin-transform-v-lazy
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

Vue v-lazy 转换

转化 v-lazy,可参考对应的 webpack loader

如何使用

安装

pnpm add @plugin-light/vite-plugin-transform-v-lazy -D

vite.config.ts 中添加如下设置:

import { defineConfig } from 'vite';
import { transformVLazyVitePlugin } from '@plugin-light/vite-plugin-transform-v-lazy';


export default defineConfig({
  plugins: [
    transformVLazyVitePlugin(),
  ],
});

Readme

Keywords

none

Package Sidebar

Install

npm i @plugin-light/vite-plugin-transform-v-lazy

Weekly Downloads

4

Version

0.0.6

License

none

Unpacked Size

2.05 kB

Total Files

5

Last publish

Collaborators

  • yanggwcn