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
I'm working on an analytics module, and I need a way to pass config to the app at runtime, not build-time. Currently, modules only accept build config.
Nuxt does this via a <srcDir>/app.config.ts file and I want to do the same, I think it's a good pattern. However, I'm not going to support everything nuxt does. For now, I want to add:
Detect the file, or default to {}
Allow for module augmentation to add to the config type
From wxt/client, provide useAppConfig helper function to access the config defined in app.config.ts.
Activity