Can confirm this solution works. Install serverless-offline with npm i serverless-offline. Then in nuxt.js, just replace app.use(nuxt.render) with Pascal's code, above. Run the plugin with sls offline. Be sure to include the http in http://localhost:3000.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Can confirm this solution works. Install serverless-offline with
npm i serverless-offline
. Then in nuxt.js, just replaceapp.use(nuxt.render)
with Pascal's code, above. Run the plugin withsls offline
. Be sure to include thehttp
inhttp://localhost:3000
.