Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better messages when no routes marked with prerender #1821

Merged
merged 3 commits into from
Feb 19, 2021

Conversation

dac09
Copy link
Collaborator

@dac09 dac09 commented Feb 19, 2021

What?

It's easy to forget to add the prerender prop to Routes, and think "it doesnt work"

This gives you a little bit more feedback to tell you why prerender isn't doing anything

What it looks like ->
https://s.tape.sh/WOvtCoCu

@github-actions
Copy link

github-actions bot commented Feb 19, 2021

📦 PR Packages

Click to Show Package Download Links

https://rw-pr-redwoodjs-com.s3.amazonaws.com/1821/create-redwood-app-0.25.1-6aab639.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/1821/redwoodjs-api-0.25.1-6aab639.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/1821/redwoodjs-api-server-0.25.1-6aab639.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/1821/redwoodjs-auth-0.25.1-6aab639.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/1821/redwoodjs-cli-0.25.1-6aab639.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/1821/redwoodjs-core-0.25.1-6aab639.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/1821/redwoodjs-dev-server-0.25.1-6aab639.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/1821/redwoodjs-eslint-config-0.25.1-6aab639.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/1821/redwoodjs-eslint-plugin-redwood-0.25.1-6aab639.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/1821/redwoodjs-forms-0.25.1-6aab639.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/1821/redwoodjs-internal-0.25.1-6aab639.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/1821/redwoodjs-prerender-0.25.1-6aab639.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/1821/redwoodjs-router-0.25.1-6aab639.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/1821/redwoodjs-structure-0.25.1-6aab639.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/1821/redwoodjs-testing-0.25.1-6aab639.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/1821/redwoodjs-web-0.25.1-6aab639.tgz

Install this PR by running yarn rw upgrade --pr 1821:0.25.1-6aab639

@dac09 dac09 merged commit 037fb4d into redwoodjs:main Feb 19, 2021
@dac09 dac09 deleted the improve/prerender-no-routes-setup branch February 19, 2021 14:56
@thedavidprice thedavidprice added this to the next release milestone Feb 19, 2021
dac09 added a commit to dac09/redwood that referenced this pull request Feb 22, 2021
…rib-workspaces

* 'main' of github.com:redwoodjs/redwood:
  Lint the create-redwood-app template. (redwoodjs#1822)
  Update typescript lint rule for no-unused-vars (redwoodjs#1808)
  Router: Fix TS types (redwoodjs#1823)
  Generate globals for routes (redwoodjs#1744)
  Ethereum auth update to v0.2.1 (redwoodjs#1807)
  Better messages when no routes marked with prerender (redwoodjs#1821)
  Feature/prerender image support (redwoodjs#1721)
  Fix entry js | Make index a little more readable, as it confuses people (redwoodjs#1819)
  use 'prisma' in place of '@prisma/cli' (redwoodjs#1800)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants