Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to pass dependencies to the client app? #133

Open
christian-schlichtherle opened this issue Aug 30, 2021 · 0 comments
Open

How to pass dependencies to the client app? #133

christian-schlichtherle opened this issue Aug 30, 2021 · 0 comments

Comments

@christian-schlichtherle

I think the README.md or even the sample code should address how to pass dependencies to the client app. For example, I have a few configuration parameters that I need to pass down to the client app. I could provide them as argument to the main client app, but how would it be done? I would normally pass them down as Twirl template parameters, but I don't see how to do this when calling scalajs.html.scripts(...).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant