Skip to content

pantoken / renderers/vue/src / PantokenVue

Değişken: PantokenVue

const PantokenVue: object

Deneysel

pantoken Vue eklentisi: app.use(PantokenVue) veya app.use(PantokenVue, { locale: "hu" }).

Type Declaration

install()

install(app, options?): void

Parametreler

app

VueAppLike

options?
locale?

string | LocaleBundle

Döndürür

void

Örnek

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