Skip to content

pantoken / renderers/vue/src / PantokenVue

Variabele: PantokenVue

const PantokenVue: object

Experimenteel

De pantoken Vue-plugin: app.use(PantokenVue) of app.use(PantokenVue, { locale: "hu" }).

Type Declaration

install()

install(app, options?): void

Parameters

app

VueAppLike

options?
locale?

string | LocaleBundle

Retourneert

void

Voorbeeld

ts
import { createApp } from "vue";
import { PantokenVue } from "@pantoken/vue";
import "@pantoken/css";

createApp(App).use(PantokenVue).mount("#app");
createApp(App).use(PantokenVue, { locale: "hu" }).mount("#app"); // localized