lafriks / vue-bar-graph

Simple and lightweight vue chart component without using chart library dependencies
5 stars 3 forks source link

Unnecessary dependencies on vue compiler #18

Open lunny opened 1 month ago

lunny commented 1 month ago

ref: https://github.com/go-gitea/gitea/pull/31705#issuecomment-2251807259

lafriks commented 1 month ago

What exactly needs to be done about that? 🤔

silverwind commented 1 month ago

I'm not sure but I think the module entry file should maybe just export the SFC alone, if that is possible.

import VueBarGraph from './components/VueBarGraph.vue';
export {VueBarGraph};

Check how other vue component libraries export their components.

silverwind commented 1 month ago

Also I guess vue should be in peerDependencies.