Skip to content

pantoken / renderers/vue/src / PantokenVue

Variable: PantokenVue

const PantokenVue: object

Experimental

El plugin de pantoken para Vue: app.use(PantokenVue) o app.use(PantokenVue, { locale: "hu" }).

Type Declaration

install()

install(app, options?): void

Parámetros

app

VueAppLike

options?
locale?

string | LocaleBundle

Devuelve

void

Ejemplo

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