shuding / nextra

Simple, powerful and flexible site generation framework with everything you love from Next.js.
https://nextra.site
MIT License
11.71k stars 1.27k forks source link

theme.config.jsx doesn't react on changes #2755

Open pavliukpetro opened 7 months ago

pavliukpetro commented 7 months ago

Hello, first of all, Nextra is really cool. I like it so much.

Just have one question. I am adding configs to theme.config.jsx file but I don't see on my site. The only thing that works is "logo" and "project". Other like "useNextSeoProps", "head" and "footer" are not working for me.

Could you please advice what could be wrong?

I am using "next": "14.1.0", "nextra": "^3.0.0-alpha.19", "nextra-theme-docs": "^3.0.0-alpha.19"

Thanks

dimaMachina commented 7 months ago

Hi, do you have similar console message while updating theme.config file?

 ⚠ Fast Refresh had to perform a full reload when ./theme.config.tsx changed. Read more: https://nextjs.org/docs/messages/fast-refresh-reload
pavliukpetro commented 7 months ago

Hi @dimaMachina haven't seen that. Also tried to restart the project but it had no effect.

pavliukpetro commented 7 months ago

Hey @dimaMachina . After a small research I found that some keys in theme.config for Nextra 3 have another names. Like here https://github.com/shuding/nextra/issues/826. Also check the themeSchema to understand what could be used. Looks like we can close this.

Just a small question. Do you plan to create the documentation for ver 3 and describe all the configs? Thanks