pantoken / renderers/vue/src / PantokenVue
Változó: PantokenVue
constPantokenVue:object
Kísérleti
A pantoken Vue bővítmény: app.use(PantokenVue) vagy app.use(PantokenVue, { locale: "hu" }).
Type Declaration
install()
install(
app,options?):void
Paraméterek
app
VueAppLike
options?
locale?
string | LocaleBundle
Visszatérés
void
Példa
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