DEV Community

Cover image for Storyblok SDKs for Vue 2 and 3 – now with TypeScript support
Manuel Schröder for Storyblok

Posted on

5 1

Storyblok SDKs for Vue 2 and 3 – now with TypeScript support

Over the last couple of days, we have been working hard to improve our Vue SDKs. We are thrilled to announce that @storyblok/vue and@storyblok/vue-2 now come with TypeScript support!

Would you like to see it in action? We have created a Storyblok Vue SDK w/ TypeScript live demo for you!

Not sure how to start? Here's our easy-to-follow tutorial: How to add Storyblok to your Vue project in 5 minutes.

With the addition of TypeScript support, you now get to enjoy auto-completion, static typing and warnings when using either of the two Vue SDKs. This results in a significantly improved developer experience – even if you don't actually use TypeScript.

But have a look for yourself:

https://a.storyblok.com/f/88751/2048x1152/1f2959c388/vue-ts.gif

If you are unsure how to set up a a Vue project in combination with TypeScript, you can learn more about this topic in the official docs.

We intend to roll out TypeScript support for all of our other SDKs soon – so stay tuned!

Finally, we'd love to hear what you think about this latest update. What do you like about it and what could do to improve it even further?

Top comments (1)

Collapse
 
josefine profile image
Josefine Schfr

Yaaay, this is great news! Can't wait for what else is to come 😍

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay