Documentation / @ripl/vue-charts / createRiplCharts
Function: createRiplCharts() ​
createRiplCharts():
Plugin
Defined in: vue-charts/src/plugin.ts:80
Creates the Vue plugin that registers every Ripl chart component globally, along with the core components from @ripl/vue — so a chart can share a <ripl-context> with hand-drawn elements.
Applying createRipl() as well, in either order, is harmless: a name already registered is skipped rather than re-registered.
Returns ​
Plugin
A plugin to pass to app.use().
Example ​
ts
import { createRiplCharts } from '@ripl/vue-charts';
createApp(App).use(createRiplCharts()).mount('#app');