Skip to content

pantoken-root / renderers/vue/src / PantokenVue

Muuttuja: PantokenVue ​

const PantokenVue: object

Kokeellinen

Pantokenin Vue-laajennus: app.use(PantokenVue) tai app.use(PantokenVue, { locale: "hu" }).

Type Declaration ​

install() ​

install(app, options?): void

Parametrit ​

app ​

VueAppLike

options? ​
locale? ​

string | LocaleBundle

Palauttaa ​

void

Esimerkki ​

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