0.1.9 • Published 2 years ago
vite-plugin-interface-portal v0.1.9
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" }),
],
});