1.0.0 • Published 3 years ago

vite-plugin-ivormock v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

vite-plugin-ivormock

Vite plugin for ivormock

Ivormock is made for development. Please use it in development environment only.

Install

npm install -D ivormock vite-plugin-ivormock

Getting Start

In your vite.config.js

const ivormock = require("vite-plugin-ivormock");

export default {
    // ... 
    plugins: [
        //...
        ivormock({
            mockPath: "mock",   // mock file path, relative to project root
            port: 3456          // ivormock server port
        })
    ]
}