serverless-side-nuxtjs-example
serverless-side-nuxtjs-example copied to clipboard
Client side events after lambda render
I've played with nuxt and lambda and found an interesting side effect that client side events wont work after page has been rendered with lambda.
https://github.com/niom/serverless-side-nuxtjs-example/tree/feature/ui-events
I extended you example just a little bit to include some client side events that can be triggered by using buttons.
- Alert
- Incremental counter
So what makes this really interesting is that when using serverless offline to simulate the AWS lambda the client side events are working like a charm but after deploying the code to AWS and fetching the page through lambda the client side events stop working.
Is this something to do with lambda doing the rendering or am I missing something from the lambda configuration?