Skip to content

pantoken-root / renderers/vue/src / PantokenVue

Variable: PantokenVue ​

const PantokenVue: object

Expérimental

Le plugin Vue de pantoken : app.use(PantokenVue) ou app.use(PantokenVue, { locale: "hu" }).

Type Declaration ​

install() ​

install(app, options?): void

Paramètres ​

app ​

VueAppLike

options? ​
locale? ​

string | LocaleBundle

Renvoie ​

void

Exemple ​

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