colada-plugin
v0.1.0
Published
A plugin to support Pinia
Downloads
1,279
Readme
How to add Colada to your Vue app...
//main.js
import { createApp } from 'vue';
import { createPinia } from 'pinia';
import Colada, { PiniaColadaPlugin } from 'colada-plugin';
import App from './App.vue';
const app = createApp(App);
const pinia = createPinia();
app.use(pinia);
pinia.use(PiniaColadaPlugin);
app.use(Colada);
app.mount('#app');