We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Minimum reproducible scenario:
Index.html:
Site.yaml: (when router is false it works as intended)
Page index.html:
Component.nue:
Before clicking the button:
After clicking the button:
After refreshing:
The text was updated successfully, but these errors were encountered:
Thanks! Need to check this out
Sorry, something went wrong.
fix: page router fixed and tests added - nuejs#263
7c480ee
@Korab-Doroci The Nue layout system is based on <header>, <main> and <footer> tags. Page router is searching for these tags to replace its content.
<header>
<main>
<footer>
In your example code should look like this:
// index.html <main> <a href="/page">go to page</a> </main>
// page/index.html <main> <component /> </main>
However the page router indeed does not mount components correctly. I prepared a PR with fix for this functionality in #271.
bf92862
Merge pull request #271 from mszmida/page-router-fix-issue-263
6c82661
fix: page router fixed and tests added - #263
tipiirai
Successfully merging a pull request may close this issue.
Minimum reproducible scenario:
Index.html:
Site.yaml: (when router is false it works as intended)
Page index.html:
Component.nue:
Before clicking the button:
After clicking the button:
After refreshing:
The text was updated successfully, but these errors were encountered: