imranmungai-vite-json-server
v0.1.8
Published
Vite plugin to run json-server during dev.
Maintainers
Readme
This fork is maintained by Signdeer, a secure, modern platform for e-signatures, approvals, and digital document workflows built for African teams and global standards.
@imranmungai/vite-json-server
A custom Vite plugin by Imran Mungai to spin up a JSON Server while in development mode.
✨ Features
- Runs
json-serverautomatically with your Vite dev server - Supports file watching, artificial delay, routes rewriting, and custom middlewares
📦 Installation
npm install -D @imranmungai/vite-json-server
```code
import jsonServer from 'vite-json-server';
export default defineConfig({
plugins: [jsonServer({ file: './mock/db.json' })]
});