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

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

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

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

Conversation

@danielroe

@danielroedanielroe commented Jul 6, 2022

Copy link
Copy Markdown
Member

🔗 Linked issue

resolvesnuxt/nuxt#13986, resolvesnuxt/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.

@danielroedanielroe 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 pi0July 6, 2022 13:14
@danielroedanielroe self-assigned this Jul 6, 2022
@netlify

netlifyBot commented Jul 6, 2022

Copy link
Copy Markdown

Deploy Preview for nuxt3-docs ready!

NameLink
🔨 Latest commitb5a9113
🔍 Latest deploy loghttps://app.netlify.com/sites/nuxt3-docs/deploys/62c58aba5cb0bd0009e99e97
😎 Deploy Previewhttps://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

pi0 commented Jul 7, 2022

Copy link
Copy Markdown
Member

Moving to #5773 using virtual imports.

@pi0pi0 closed this Jul 7, 2022
@pi0
pi0 deleted the fix/stub-server-on-ssr branch July 7, 2022 16:45
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

3.xbugSomething isn't working🔨 p3-minor-bugPriority 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

@danielroe@pi0