Skip to content

pantoken-root / renderers/vue/src / PantokenVue

Zmienna: PantokenVue ​

const PantokenVue: object

Eksperymentalne

Wtyczka pantoken dla Vue: app.use(PantokenVue) lub app.use(PantokenVue, { locale: "hu" }).

Type Declaration ​

install() ​

install(app, options?): void

Parametry ​

app ​

VueAppLike

options? ​
locale? ​

string | LocaleBundle

Zwraca ​

void

Przykład ​

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