Skip to content
This repository was archived by the owner on Aug 1, 2022. It is now read-only.

Client side events after lambda render #1

@niom

Description

@niom

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.

  1. Alert
  2. 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions