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

feat(nuxt): prerender all pages by default#5709

Merged
pi0 merged 3 commits intomainfrom
feat/pages-prerender
Jul 7, 2022
Merged

feat(nuxt): prerender all pages by default#5709
pi0 merged 3 commits intomainfrom
feat/pages-prerender

Conversation

@danielroe
Copy link
Member

🔗 Linked issue

resolves nuxt/nuxt#13945

❓ 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 adds all non-dynamic routes to the prerenderer by default, as we can't always rely on the crawler to fetch every page.

📝 Checklist

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

@danielroe danielroe added enhancement New feature or request pages 🍰 p2-nice-to-have Priority 2: nothing is broken but it's worth addressing labels Jul 4, 2022
@danielroe danielroe requested a review from pi0 July 4, 2022 10:07
@danielroe danielroe self-assigned this Jul 4, 2022
@netlify
Copy link

netlify bot commented Jul 4, 2022

Deploy Preview for nuxt3-docs canceled.

Name Link
🔨 Latest commit 05733d8
🔍 Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/62c6ba755ac0c90009282f56

@danielroe danielroe marked this pull request as draft July 4, 2022 10:16
@danielroe danielroe marked this pull request as ready for review July 4, 2022 10:39
@danielroe danielroe force-pushed the feat/pages-prerender branch from 43c28aa to 6bc8b01 Compare July 7, 2022 10:49
@danielroe danielroe requested a review from pi0 July 7, 2022 11:13
@pi0 pi0 merged commit 271262e into main Jul 7, 2022
@pi0 pi0 deleted the feat/pages-prerender branch July 7, 2022 15:07
@pi0 pi0 mentioned this pull request Jul 11, 2022
danielroe added a commit to nuxt-modules/ionic that referenced this pull request Aug 17, 2022
@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 enhancement New feature or request 🍰 p2-nice-to-have Priority 2: nothing is broken but it's worth addressing pages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Yarn generate not generating pages for components on the pages directory

2 participants