nuxt / nuxt/modules

[Module Listing Request]: `nuxt-msw`

Open
#1,052 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

module-request
Dominant language
TypeScript
Stars
1.1k
Forks
354
Avg merge
10h 18m
Merged PRs (30d)
12

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the nuxt/modules repository by reviewing how existing Nuxt 3 modules are listed, then verify the linked nuxt-msw repository and npm package details. Done means the module is listed with its Nuxt 3 compatibility, repository, package, and described API-mocking features.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt, typescript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.