-
Notifications
You must be signed in to change notification settings - Fork 26
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
fix: update vue examples #130
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit cbe448c:
|
Vue really seems to want to define types _their_ way, so introduce a props map per these docs: https://vuejs.org/guide/typescript/options-api.html#typing-component-props
added a commit that fixes the issue above after a chat with @alanshaw - I still haven't been able to confirm this is working end-to-end as I'm getting a 500 from the execute API: This PR should be fine to merge anyway - I believe @yusefnapora was also seeing a 500 so we can track that down separately. |
I got all these working in a basic way, but had trouble passing the staging service principals and connections through to the providers to test against staging - I think this is the right way to pass them through in Vue:
but Vue complains like this:
and the servicePrincipal and connection are undefined inside KeyringProvider - @alanshaw am I just bad at Vue or do we need to do something special to make sure servicePrincipal and connection are defined as "props" in the Providers?