This module provides an easy way to setup mocks for nuxt
.
Check the documentation for more information and examples.
Heavily inspired in @nuxt/sitemap.
Status | Topic | Goal | Milestone |
---|---|---|---|
✔ | Formats | Support application/json |
Q3 2024 |
✔ | Formats | Support text/plain |
Q3 2024 |
✔ | Formats | Support text/html |
Q3 2024 |
❌ | Formats | Support application/xml |
Q3 2024 |
✔ | Formats | Support application/octet-stream |
Q3 2024 |
❌ | Tests | Add proper tests | Q3 2024 |
✔ | DX | Improve docs | Q3 2024 |
❌ | DX | Non-root (e.g monorepo) support for mock directory | Q3 2024 |
✔ | DX | Add devtools page | Q3 2024 |
✔ | DX | Add mock updates through devtools | Q3 2024 |
❌ | Formats | Custom formats | Q4 2024 |
✔ | Core | Iterate prerender routes to generate mocks on server init |
Q4 2024 |
✔ | Core | Support presets (mock bundles that can be switched) | Q4 2024 |
❌ | Core | Support remote shared servers | Q1 2025 |
See the open issues for a full list of proposed features (and known issues).