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

2.0.10 • Public • Published

@ohbug/vue

npm npm bundle size

English | 简体中文

Installation

pnpm instal @ohbug/browser @ohbug/vue

Usage

Vue3

import Vue from 'vue'
import Ohbug from '@ohbug/browser'
import OhbugVue from '@ohbug/vue'

const client = Ohbug.setup({ apiKey: 'YOUR_API_KEY' })

Vue.createApp(App)
  .use(OhbugVue(client))
  .mount('#app')

Vue2

import Vue from "vue";
import App from "./App.vue";
import Ohbug from "@ohbug/browser";
import OhbugVue from "@ohbug/vue";

const client = Ohbug.setup({ apiKey: "YOUR_API_KEY" });
OhbugVue(client).install(Vue);

new Vue({
  render: (h) => h(App)
}).$mount("#app");

Readme

Keywords

none

Package Sidebar

Install

npm i @ohbug/vue

Weekly Downloads

4

Version

2.0.10

License

Apache-2.0

Unpacked Size

17.9 kB

Total Files

7

Last publish

Collaborators

  • yuebanla