DEV Community

Krypton
Krypton

Posted on

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.

Discussion (1)

Collapse
pedropcruz profile image
Pedro Cruz • Edited

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