UNPKG

@userfrosting/sprinkle-core

Version:
19 lines (18 loc) 588 B
import { App } from 'vue'; /** * Core Sprinkle initialization recipe. * * This recipe is responsible for loading the configuration from the api, * loading the translations, register the translator as $t and $tdate global * properties and setting up the axios CSRF headers. */ declare const _default: { install: (app: App) => void; }; export default _default; declare module 'vue' { interface ComponentCustomProperties { $t: (key: string, placeholders?: string | number | object) => string; $tdate: (date: string, format?: string | object) => string; } }