diff --git a/resources/js/app.js b/resources/js/app.js index 4b2e51d..db6a205 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -35,6 +35,9 @@ const can = (abilities) => { } window.can = can +window.__ = (text, replacements = {}) => { + return text +} createInertiaApp({ title: (title) => `${title} - ${appName}`, @@ -46,6 +49,7 @@ createInertiaApp({ .mixin({ methods: { can, + __, themes: () => Themes, }, })