Nuxt: Get URL params in middleware before Vue Router is available

后端 未结 0 1007
渐次进展
渐次进展 2021-02-02 08:02

I have a middleware

middleware/dept.js

which needs to query an API that takes a URL parameter "dept". E.g:

http://localh         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题