@mozaic-ds/chart
Version:
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
21 lines (17 loc) • 600 B
text/typescript
import type { App } from 'vue';
import * as Components from './components';
const MozaicChart = {
install: (app: App, options: {}) => {
Object.keys(Components).forEach((name) => {
// @ts-ignore
app.component(name, Components[name]);
});
}
};
export default MozaicChart;
export { BarChart } from './components/bar';
export { DoughnutChart } from './components/doughnut';
export { LineChart } from './components/line';
export { RadarChart } from './components/radar';
export { MixedBarLineChart } from './components/mixed';
export { BubbleChart } from './components/bubble';