diff --git a/template/api/hooks/nuxt/index.js b/template/api/hooks/nuxt/index.js index 5654b4c..4f9c5af 100644 --- a/template/api/hooks/nuxt/index.js +++ b/template/api/hooks/nuxt/index.js @@ -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