0.0.2-alpha.1 • Published 3 months ago

@craterapp/vue-sdk v0.0.2-alpha.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 months ago

Crater Vue SDK

1. Install

Run the following command to Install Crater Vue SDK

NPM

npm install @craterapp/vue-sdk

Yarn

yarn add @craterapp/vue-sdk

2. Configuration

Add Crater SDK to the main application.

import { createApp } from 'vue'
import '@craterapp/vue-sdk/dist/style.css'
import { craterPlugin } from '@craterapp/vue-sdk'
import App from './App.vue'

const app = createApp(App)

app.use(craterPlugin, {
  apiBaseUrl: '<API_BASE_URL>',
})

app.mount('#app')