vite-plugin-mock
JSON →A mock plugin for Vite that provides local mock data for development and testing. Current stable version is 3.0.2, with active development and releases. It integrates with Vite's dev server, supports hot module replacement (HMR) for mock files, and allows mocking API requests during development. Differentiated by its tight integration with Vite, TypeScript support, and use of mockjs for data generation. Requires Vite >=4.0.0, esbuild >=0.17, and mockjs >=1.1.0 as peer dependencies.
Traffic · last 30 days stale · no recent hits
total hits 27
actors 7 distinct systems
last hit 16d ago AhrefsBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · VN · 🇮🇳 India
Resources
API endpoints
full doc /v1/registry/vite-plugin-mock
compatibility /v1/registry/vite-plugin-mock/compatibility