@bzlab/bz-react-proxy
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

bz-react-proxy

vue动态代理插件

快速上手

npm i @bzlab/bz-react-proxy -D

// vite.config.ts
import bzProxy from '@bzlab/bz-react-proxy'

export default () => {
  return {
    server: {
      proxy: bzProxy.proxy
    }
  }
}

文档

配置项,默认config.json

序号 参数 说明 默认值
1 env 代理参数 build/proxy/env.json
2 proxy 生成配置 build/proxy/proxy.json

发布包

npm publish --registry https://registry.npmjs.org --access public    

卸载包

npm unpublish @bzlab/bz-react-proxy --force --registry https://registry.npmjs.org

Readme

Keywords

Package Sidebar

Install

npm i @bzlab/bz-react-proxy

Weekly Downloads

0

Version

0.0.2

License

none

Unpacked Size

1.87 MB

Total Files

5

Last publish

Collaborators

  • bzlab