nuxt-lambda icon indicating copy to clipboard operation
nuxt-lambda copied to clipboard

Trying to help ...

Open jamesladd opened this issue 5 years ago • 2 comments

Hey Nuxt-lambda,

I think this is something I have been looking for. While it is experimental I'm hoping to run it with AWS Lambda and contribute.

One question I have is, from inside an AWS lambda how do I invoke Nuxt with the path? (not clear from documentation)

Is it similar to the way this example of a AWS lambda calling Nuxt is done? https://github.com/serverless/examples/blob/master/aws-node-vue-nuxt-ssr/nuxt.js

  • James.

jamesladd avatar Aug 03 '20 22:08 jamesladd

Hey, you shouldnt need to do anything for this as this is handled by one of these handlers: https://github.com/pimlie/nuxt-lambda/tree/master/src/handlers

You can configure nuxt-lambda to use one of them, see the handler option: https://github.com/pimlie/nuxt-lambda#options

pimlie avatar Aug 04 '20 11:08 pimlie

Thank you for the prompt response. I'll look into those hanglers.

jamesladd avatar Aug 04 '20 23:08 jamesladd