modules
modules copied to clipboard
[Module Listing Request]: `nuxt-msw`
Description
nuxt-msw integrates MSW (Mock Service Worker) into a Nuxt project, allowing user to use it for API mocking during development. Most of the code can be directly shared with test mocks.
Features
- 🌲 Write once, use everywhere
- 🚀 Use MSW powerful mocking features in Nuxt development
- ⛰ Intercept both server-side and client-side request, including
$fetch,useFetchand any other api requests. - 🥧 Support Nuxt layer.
Repository
https://github.com/shunnNet/nuxt-msw
npm
https://www.npmjs.com/package/@crazydos/nuxt-msw
Nuxt Compatibility
Nuxt 3