victorgarciaesgi / vue-chart-3

📊 A simple wrapper around Chart.js 3 for Vue 2 & 3

Home Page:https://vue-chart-3.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid module name in augmentation, module '@vue/runtime-core' cannot be found.ts(2664) after installing

sambitevidev opened this issue · comments

Hey @victorgarciaesgi great lib. I faced an issue after installing it in my vue@3.2.21 project

Invalid module name in augmentation, module '@vue/runtime-core' cannot be found.ts(2664)

image

When I'm uninstalling this and re-loading vscode, the issue is not there. Can you please help. thx

Hi @sambitevidev , where does the error comes from? This does not seems related to vue-chart-3

This is coming from vue-demi it seems. the declarations of @vue/runtime-core seems to overlap. I made a fork of this project and rewrote entirely in <script setup>. Works well, but doesn't have vue 2 support and hooks. https://github.com/soulsam480/vue-chart-3

Yeah I have problem with vue-demi since 0.5.x.
I'm working on removing vue-demi et maintaining 2 separates branches for Vue 2 and Vue 3. It's too complex to manage deps and types for 2 vue versions

yes, I had a pleasant experience while re writing in <scrip setup>. Also the code was easy to understand, really thanks for your hard work.

Thanks a lot! I only need time I just started a new job aha

Thanks a lot! I only need time I just started a new job aha

That's cool. Congrats

@soulsam480 New version only for Vue 3 is out. With a legacy 2.x for Vue 2! Check out the new docs :)

Sure will check it