vite-plugin-interface-portal
v0.1.9
Published
use hmr hook to update swagger api & interface
Downloads
21
Readme
vite-plugin-interface-portal
use hmr hook to update swagger api & interface
using webpack? (interface-portal-plugin)[https://www.npmjs.com/package/interface-portal-plugin]
Using
// in vite.confing.js
import InterfacePortal from "vite-plugin-interface-portal";
export default defineConfig({
plugins: [
// other code
InterfacePortal({ apiPath: "your swagger ui json path" }),
],
});