Skip to content

pantoken / renderers/vue/src / PantokenVue

משתנה: PantokenVue

const PantokenVue: object

ניסיוני

תוסף pantoken ל-Vue: app.use(PantokenVue) או app.use(PantokenVue, { locale: "hu" }).

Type Declaration

install()

install(app, options?): void

פרמטרים

app

VueAppLike

options?
locale?

string | LocaleBundle

מחזיר

void

דוגמה

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