Open
Description
openedon Aug 22, 2024
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
,useFetch
and 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment