Closed taozuhong closed 9 months ago
Could you please add the example with php files?
import { createApp } from 'vue' import { i18nVue } from 'laravel-vue-i18n' createApp() .use(i18nVue, { resolve: async lang => { const langs = import.meta.glob('../../lang/${lang}/*.php'); return await langs[`../../lang/${lang}/*.php`](); } }) .mount('#app');
Could you please add the example with php files?