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')