mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
Add comment
This commit is contained in:
parent
61ac979cba
commit
ae8700f117
@ -25,6 +25,7 @@ export default context => {
|
||||
// create context.next for simulate next() of beforeEach() when wanted to redirect
|
||||
context.redirected = false
|
||||
context.next = function (opts) {
|
||||
// if nuxt generate
|
||||
if (!context.res) {
|
||||
context.redirected = opts
|
||||
context.nuxt.serverRendered = false
|
||||
|
Loading…
Reference in New Issue
Block a user