npm

@craterapp/vue-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.0.2-alpha.1 • Public • Published

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

Package Sidebar

Install

npm i @craterapp/vue-sdk

Weekly Downloads

1

Version

0.0.2-alpha.1

License

MIT

Unpacked Size

11.4 MB

Total Files

65

Last publish

Collaborators

  • komelabbas
  • mohit.panjvani