vite-plugin-cli-copy
v0.0.6
Published
Start the project and automatically copy the cli network url
Downloads
13
Readme
简体中文 | English
安装
npm install vite-plugin-cli-copy -D
pnpm add vite-plugin-cli-copy -D
用法
- package.json
{
"scripts": {
"dev": "vite --host"
}
}
- vite.config.ts
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import cliCopy from 'vite-plugin-cli-copy'
export default defineConfig({
plugins: [vue(), cliCopy()]
})
Thanks
非常感谢 @bluwy 的项目 vite-plugin-qrcode