content icon indicating copy to clipboard operation
content copied to clipboard

Make dd-globals extendable via app config

Open itpropro opened this issue 3 years ago • 1 comments

Currently, the @nuxt-themes/config repo is deprecated and we should leverage the native Nuxt 3 app.config feature. This is fine for SFC usage with the useAppConfig() composable for global variables, but for extending the document-driven globals, we still need to add a _theme.yml (or another name) and reference it in the content configuration. To avoid having so many config files and splitting up global variables, it would be good to be able to use the app.config.ts and configure theme settings (especially the layout override) like this:

export default defineAppConfig({
  theme: {
    layout: 'article'
  }
});

itpropro avatar Sep 11 '22 17:09 itpropro

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Feb 07 '25 12:02 github-actions[bot]