Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin routes don't support RouteConfig #2296

Open
deer opened this issue Feb 3, 2024 · 0 comments · May be fixed by #2297
Open

Plugin routes don't support RouteConfig #2296

deer opened this issue Feb 3, 2024 · 0 comments · May be fixed by #2297

Comments

@deer
Copy link
Contributor

deer commented Feb 3, 2024

I wanted to create a special partials route to load just the right content and expose that with a plugin. Sad times when I spent too much time debugging why the _app wrapper was getting included, even though I clearly had the following in my route:

export const config: RouteConfig = {
  skipAppWrapper: true,
  skipInheritedLayouts: true,
};

Eventually I realized that PluginRoute is missing something like config?: RouteConfig;, and so of course it wasn't being used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant