We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
v2.3.4
https://github.com/chanlito/nuxt-middleware-bug
So middleware doesn't seem to work when my layout is written like below:
<template> <div> <div>Layout</div> <nuxt/> </div> </template> <script> import Vue from 'vue'; export default Vue.extend({ // <-- this doesn't middleware: 'ok', }); </script>
But this works.
<template> <div> <div>Alt Layout</div> <nuxt/> </div> </template> <script> export default { middleware: 'ok', }; </script>
Middleware should work fine with layout created with Vue.extend
Vue.extend
Not working.
The text was updated successfully, but these errors were encountered:
On pages middleware seems to work fine with or without Vue.extend
Sorry, something went wrong.
fix(layout-middleware): Fix issue #4724
521ac20
Hey @chanlito
Thank you very much for this bug report and reproduction link.
This issue should be resolved with 521ac20 and should be available in next version of nuxt-edge tonight :)
nuxt-edge
Seems to be working now.
No branches or pull requests
Version
v2.3.4
Reproduction link
https://github.com/chanlito/nuxt-middleware-bug
Steps to reproduce
So middleware doesn't seem to work when my layout is written like below:
But this works.
What is expected ?
Middleware should work fine with layout created with
Vue.extend
What is actually happening?
Not working.
The text was updated successfully, but these errors were encountered: