Jacobs63 / vue3-tabs-component

Vue 3 tabs component
MIT License
96 stars 27 forks source link

Typescript support required ! #30

Closed SurajMazar closed 1 year ago

SurajMazar commented 1 year ago

image

YehorPytomets commented 1 year ago

@SurajMazar, what exactly does the error say?

YehorPytomets commented 1 year ago

@Jacobs63, I'm not sure if it is related to SurajMazar's problem, but it seems that in 1.1.3 the dist folder disappears from node_modules. I don't have this problem with 1.1.0 and 1.1.2. Node: v16.19.0 NPM: 8.19.3

Jacobs63 commented 1 year ago

@Jacobs63, I'm not sure if it is related to SurajMazar's problem, but it seems that in 1.1.3 the dist folder disappears from node_modules. I don't have this problem with 1.1.0 and 1.1.2. Node: v16.19.0 NPM: 8.19.3

My bad - forgot to publish the compiled files 🤦

YehorPytomets commented 1 year ago

@Jacobs63, solved with 1.1.4, thank you 👍

SurajMazar commented 1 year ago

@Jacobs63 well i m using vue with typescript , and when i import the components from the library , as there is no type definitions we get the following error

hence image

SurajMazar commented 1 year ago

@Jacobs63 when i use the library with plain js or ignore the warning (while working with ts) it works fine . but i think its nice to have a type definition for typescript support.

Jacobs63 commented 1 year ago

Hello,

version 1.3.0 now includes the package fully rewritten in TypeScript.

januarfonti commented 6 months ago

Hi @Jacobs63 , I'm using Nuxt 3 & "vue3-tabs-component": "^1.3.7",

But I'm still got this error when importing the component

Screenshot 2024-05-16 at 21 53 35