@authvia/pinia-stores-merchant
v1.0.2
Published
Encapsulates the V3 API calls that merchants will need to use and integrates them with Pinia for easier Vue 3 development.
Downloads
30
Maintainers
Keywords
Readme
Pinia Stores for Merchant
Pinia stores to manage merchant experience
import { createApp } from 'vue';
import { v3VueStatePlugin } from '@authvia/v3VueStatePlugin';
import paymentMethodPlugin from '@authvia/payment-method-customer-vue';
import App from './App.vue';
import router from './router';
import './assets/main.css'
import '@authvia/payment-method-customer-vue/dist/style.css';
const app = createApp(App);
app.use(v3VueStatePlugin, {api: 'api.authvia.com', cdn: 'cdn.authvia.com'});
app.use(paymentMethodPlugin)
app.use(router);
app.mount('#app');