API reference / @chanx-js/client / vue / chanxPlugin
Variable: chanxPlugin
ts
const chanxPlugin: object;Defined in: packages/client/src/vue/index.ts:61
Register a client app-wide: app.use(chanxPlugin, { baseUrl }).
Type Declaration
install()
ts
install(app, options?): void;Parameters
| Parameter | Type |
|---|---|
app | App |
options | | ClientOptions | ChanxClient |
Returns
void