8000 feat(nuxt): use build plugin to access nuxt route injection by danielroe Β· Pull Request #21585 Β· nuxt/nuxt Β· GitHub
[go: up one dir, main page]

Skip to content

feat(nuxt): use build plugin to access nuxt route injection #21585

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

Merged
merged 5 commits into from
Aug 7, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loadin 8000 g
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update packages/nuxt/src/pages/module.ts
Co-authored-by: SΓ©bastien Chopin <seb@nuxt.com>
  • Loading branch information
danielroe and atinux authored Jun 18, 2023
commit 3bcc56f35eb8d35a94d1bd5df46b968e2f39e066
2 changes: 1 addition & 1 deletion packages/nuxt/src/pages/module.ts
7617
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ export default defineNuxtModule({

if (nuxt.options.experimental.templateRouteMixin) {
// Add global mixin to ensure template $route is kept in sync with `<NuxtPage>`
addPlugin(resolve(runtimeDir, 'plugins/prefetch.client'))
addPlugin(resolve(runtimeDir, 'plugins/route-injection.client'))
}

// Add router plugin
Expand Down
0