Skip to content

Start the project and automatically copy the network url

License

Notifications You must be signed in to change notification settings

wChenonly/vite-plugin-cli-copy

Repository files navigation

vite-plugin-cli-copy

Start the project and automatically copy the terminal's network URL

NPM version NPM Downloads

English | 简体中文

Install

npm install vite-plugin-cli-copy -D
pnpm add vite-plugin-cli-copy -D

Usage

  • 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

Great thanks to @bluwy The project of vite-plugin-qrcode

License

MIT © wChenonly-latest

About

Start the project and automatically copy the network url

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published