core icon indicating copy to clipboard operation
core copied to clipboard

[Feature request] Client config

Open Mister-Hope opened this issue 3 years ago • 2 comments

Clear and concise description of the problem

Provide client config file for theme and plugins, so that user can modify client-only options to get an HMR instead of a server restart.

Suggested solution

See https://github.com/vuepress/vuepress-next/issues/914#issuecomment-1143325774

Alternative

No response

Additional context

No response

Mister-Hope avatar Jun 15 '22 04:06 Mister-Hope

Would introduce lots of breaking changes for sure.

meteorlxy avatar Jun 16 '22 03:06 meteorlxy

@meteorlxy | @Mister-Hope

I see you guys have started to combine the client config file, but this doesn't seem to be ready yet for theme config. Any chance of adding this anytime soon?

I would like to have the navbar and menu being set in the client.ts/client.js and would very much appreciate it as it would stop the restarting the server everytime i dynamically add a menu item.

Also if possible when this is added as a request that we can have a nice detailed example with the navbar in the vuepress documentation, as it would make a lot of people happy.

devPaulRS avatar Jul 12 '22 07:07 devPaulRS