Skip to content

pantoken / renderers/vue/src / PantokenVue

Variabel: PantokenVue

const PantokenVue: object

Eksperimentell

pantoken Vue-pluginen: app.use(PantokenVue) eller app.use(PantokenVue, { locale: "hu" }).

Type Declaration

install()

install(app, options?): void

Parametrar

app

VueAppLike

options?
locale?

string | LocaleBundle

Returnerer

void

Døme

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