Skip to content

Commit

Permalink
add a ref of nuxt in sails global object
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarrask committed Oct 13, 2018
1 parent fa85ab1 commit 442205a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions template/api/hooks/nuxt/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ module.exports = function defineNuxtHook(sails) {
return done(e);
}
}

sails.nuxt = nuxt;

// Be sure and call `done()` when finished!
// (Pass in Error as the first argument if something goes wrong to cause Sails
Expand Down

0 comments on commit 442205a

Please sign in to comment.