nuxt-modules / nuxt-modules/ionic

@nuxtjs/ionic Module Affecting HTTP Status Codes

Open
#696 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs reproduction
Dominant language
TypeScript
Stars
457
Forks
53
Avg merge
7h 32m
Merged PRs (30d)
21

Description

🐛 The bug

The @nuxtjs/ionic module is preventing my Nuxt server from correctly sending HTTP status codes, effectively making server-side rendering (SSR) useless. This impacts critical functionality such as proper 404 error pages and other HTTP responses, which are essential for a Nuxt-based application.

Expected Behavior:
The module should either:

  1. Be explicitly designed for client-side-only (SPA) applications to avoid breaking SSR behavior.
  2. Provide clear documentation or a configuration option to disable server-side interference.
🛠️ To reproduce

.

🌈 Expected behaviour

Steps to Reproduce:

  1. Install @nuxtjs/ionic in a Nuxt 3 SSR project.
  2. Attempt to return a 404 response or any other status code from a Nuxt route.
  3. Observe that the expected status codes do not work correctly.
    This effectively negates the benefits of using Nuxt over Vue 3 for SSR applications. I would appreciate it if the module were restricted to client-side use only or had a proper fix to ensure SSR compatibility.

Thanks for your time!

ℹ️ Additional context

No response

Contributor guide

No contributing guide indexed for this repository

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

No files or tests are named. Start by reproducing the issue in a Nuxt 3 SSR project with @nuxtjs/ionic and inspect how the module affects HTTP status handling. Done means 404 and other non-200 responses are preserved, with regression coverage added if the project provides a suitable test location.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxtjs, typescript
Domain
full-stack
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.