Skip to content

pantoken-root / 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