Skip to content

bug: middleware is loaded before plugins #19766Β #287

@productdevbook

Description

@productdevbook

πŸ› The bug

pnpm dev

console.log see first middleware after plugin.

but it should be the other way around. Plugins should come first and then middleware should come.

image

πŸ› οΈ To reproduce

https://github.com/productdevbook/nuxt3bug1

🌈 Expected behaviour

first load plugins after middleware

ℹ️ Additional context


  • Operating System: Linux
  • Node Version: v18.15.0
  • Nuxt Version: 3.3.1
  • Nitro Version: 2.3.1
  • Package Manager: pnpm@7.29.3
  • Builder: vite
  • User Config: modules
  • Runtime Modules: @nuxtjs/ionic@0.8.1
  • Build Modules: -

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions