I have created a simple OSDK application with a single Ontology. I am trying to use the cli to create a local repo with the necessary npm packages. I tried using both @osdk/create-app@2.3.0-beta.3
and @osdk/create-app@latest
with the Vue template. After npm install they both gave me the same error.
The created @vue-osdk/sdk
does not provide an export named FoundryClient
and PublicClientAuth
Following the README.MD from the Vue Example on github, I managed to set my Vue application up.
@csakis glad to hear you were able to get it working! I think the missing thing might have been the --sdkVersion 2.x
CLI parameter. Developer Console should show you this argument if you’re looking at 2.0 or above of the TypeScript SDK docs: