Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.

fix(nuxt): stub server output when ssr: false#5747

Closed
danielroe wants to merge 1 commit intomainfrom
fix/stub-server-on-ssr
Closed

fix(nuxt): stub server output when ssr: false#5747
danielroe wants to merge 1 commit intomainfrom
fix/stub-server-on-ssr

Conversation

@danielroe
Copy link
Copy Markdown
Member

@danielroe danielroe commented Jul 6, 2022

🔗 Linked issue

resolves nuxt/nuxt#13986, resolves nuxt/nuxt#13901, closes #5372

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

This PR is an alternative to #5372. It depends on nitrojs/nitro#328 being merged first, and then will add a stub server file that allows for prerendering with ssr: false.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@danielroe danielroe added bug Something isn't working 🔨 p3-minor-bug Priority 3: a bug in an edge case that only affects very specific usage labels Jul 6, 2022
@danielroe danielroe requested a review from pi0 July 6, 2022 13:14
@danielroe danielroe self-assigned this Jul 6, 2022
@netlify
Copy link
Copy Markdown

netlify Bot commented Jul 6, 2022

Deploy Preview for nuxt3-docs ready!

Name Link
🔨 Latest commit b5a9113
🔍 Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/62c58aba5cb0bd0009e99e97
😎 Deploy Preview https://deploy-preview-5747--nuxt3-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@pi0
Copy link
Copy Markdown
Member

pi0 commented Jul 7, 2022

Moving to #5773 using virtual imports.

@pi0 pi0 closed this Jul 7, 2022
@pi0 pi0 deleted the fix/stub-server-on-ssr branch July 7, 2022 16:45
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

3.x bug Something isn't working 🔨 p3-minor-bug Priority 3: a bug in an edge case that only affects very specific usage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Could not load .nuxt/dist/server/server.mjs when using ssr false and webpack 'nuxt dev' breaks on a fresh install with ssr: false

2 participants