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

*Build paths* can't render root page consistently #39

Closed
arctic-hen7 opened this issue Oct 1, 2021 · 2 comments
Closed

*Build paths* can't render root page consistently #39

arctic-hen7 opened this issue Oct 1, 2021 · 2 comments
Assignees
Labels
A-router Area: router A-templates Area: templates C-bug Category: bug D-medium Difficulty: medium P-high Priority: high S-in-development Status: in development

Comments

@arctic-hen7
Copy link
Member

Describe the bug
For a template docs, using the build paths strategy, we can't render the page /docs reliably. If the page name index is used, initial loads will work, but there doesn't seem to be a way to get subsequent loads to work properly yet.

To Reproduce
As above.

Expected behavior
Using the special name index, the page should render.

Environment (please complete the following information):

  • Perseus Version: v0.3.0-beta.1
  • Sycamore Version: v0.6.1

Additional context
Add any other context about the problem here.

@arctic-hen7 arctic-hen7 added C-bug Category: bug A-router Area: router A-templates Area: templates D-medium Difficulty: medium P-high Priority: high S-in-development Status: in development labels Oct 1, 2021
@arctic-hen7 arctic-hen7 self-assigned this Oct 1, 2021
@arctic-hen7
Copy link
Member Author

Okay, this works now for perseus serve by using an empty string rather than index, I'll work with exporting now.

@arctic-hen7
Copy link
Member Author

Never mind, exporting seems to work perfectly! I do like when one thing fixes another, it's so rare...

arctic-hen7 added a commit that referenced this issue Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-router Area: router A-templates Area: templates C-bug Category: bug D-medium Difficulty: medium P-high Priority: high S-in-development Status: in development
Projects
None yet
Development

No branches or pull requests

1 participant