Comments (3)
I think this is related to my issue as well - #2920
from nextra.
@amcdnl Hi! Thanks for your answer. I tested dev mode, not production.
It's quite strange because in mobile view when I open the page there is sidebar, but there are some pages where I click and the sidebar doesn't appear and the main page itself doesn't have the sidebar.
I have tried the ones described in the issue, but I could not solve the problem.
I also turned off javascript in devtools and the HTML content that renders the sidebar doesn't appear anyway.
My guess is that I have 6 hydration errors and that's why it doesn't appear.
Do you think this could be a problem?
Thanks for answers.
Bye,
Gellipapa
from nextra.
Hi! I was able to solve the problem, the problem was that in _meta.ts type: 'page' was set so the sidebar and the toc don't appear, if it's not there it works fine.
//_meta.ts
export default {
index: {
title: 'Introduction',
type: 'page' //you should remove this line if you want show sidebar and toc
},
test: {
title: 'Test',
},
from nextra.
Related Issues (20)
- Mermaid diagram is not rendered on Vercel
- `pageMap` is undefined after refreshing the page (only with `_app.mdx`) HOT 1
- Nextra 3 uses i18n structure, and the MDX file in pages root fails to load. HOT 2
- Using CompileMdx to rerender site pages
- Broken demo image (Documentation>Docs Theme>Built-ins>Bleed) HOT 2
- i18n does not work HOT 1
- Using Shiki transformers with Nextra HOT 2
- i18n `_meta.en.json` tags is resulting in 404 pages HOT 3
- Feedback for “Next.js Image” HOT 1
- Where to introduce the next component in the configuration item, and where to import the translation file 'Next-i18next' referenced by the component HOT 2
- Feedback for “Presentations” HOT 11
- Found broken `/signup` link. Please fix!
- Question on remark plugins HOT 2
- feature request: integration into next js project / next 12 / next 13 / next 14
- Feedback for “My Documentation”
- Feedback for “Quick Start”
- VolumePayComponent
- Feedback for “Quick Start”
- Feedback for “PKU Auto Elective”
- [v3] Navbar dropdown not working in 3.0.0-alpha.36 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextra.