xiCO2k / laravel-vue-i18n

Allows to connect your `Laravel` Framework translation files with `Vue`.
MIT License
594 stars 49 forks source link

Missing default translation file #94

Closed hamzaelmaghari closed 1 year ago

hamzaelmaghari commented 1 year ago

Hello, The Library works fine there is not a problem but when It exists in the app everything in the ide is highlighted as Missing default translation file.

import { i18nVue } from "laravel-vue-i18n";

            .use(i18nVue, {
                resolve: async (lang) => {
                    const languages = import.meta.glob("../../../lang/*.json");
                    return await languages[`../../../lang/${lang}.json`]();
                },
            })