modules icon indicating copy to clipboard operation
modules copied to clipboard

[Module Listing Request]: `nuxt-msw`

Open shunnNet opened this issue 1 year ago • 0 comments

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

shunnNet avatar Aug 22 '24 10:08 shunnNet