DEV Community

Krypton | Madhusudan Babar
Krypton | Madhusudan Babar

Posted on

4 2

How to create nuxtJS components using TypeScript.

Hello developers,
I'm building a nuxt app with typescript but I'm having problem while creating / exporting components,

I've read the documentation but it doesn't completely explains how to create components using options API i.e. Vue.extend({}) not with classes and decorators.

Top comments (1)

Collapse
 
pedropcruz profile image
Pedro Cruz • Edited

You can use @nuxtjs/composition-api i think your re looking for that :)

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