You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When hosting a cascade.page instance, I like to define the configuration in a certain way, for example, with the sidebar disabled and with the "light" theme enabled.
Currently, to do this requires adjusting the defaults of the Vue components or injecting custom code to fill the localStorage with these configuration options.
It would be great if such options could be defined centrally in a JSON file that is either compiled into the instance or loaded over AJAX so that people running their own instance do not have to (pre)compile Nuxt.
Example of configuration options that would be nice to have:
hide/show certain buttons in the sidebar
set default theme that is statically compiled by Nuxt (to prevent a theme change flash on hydration)
set editor pane enabled/disabled
enable/disable theme switcher
etc
The text was updated successfully, but these errors were encountered:
When hosting a cascade.page instance, I like to define the configuration in a certain way, for example, with the sidebar disabled and with the "light" theme enabled.
Currently, to do this requires adjusting the defaults of the Vue components or injecting custom code to fill the localStorage with these configuration options.
It would be great if such options could be defined centrally in a JSON file that is either compiled into the instance or loaded over AJAX so that people running their own instance do not have to (pre)compile Nuxt.
Example of configuration options that would be nice to have:
The text was updated successfully, but these errors were encountered: