martinlindhe / laravel-vue-i18n-generator

Generates a vue-i18n compatible include file from your Laravel translations
MIT License
306 stars 207 forks source link

Exclude a directory ? #81

Closed ghost closed 5 years ago

ghost commented 5 years ago

Is there a way to exclude a directory?

I have a front-end lang folder which have files

And an back-end lang folder which have files

And that wont work with the config exclude, since both files have the same names..

martinlindhe commented 5 years ago

Yes,

You can define a root directory as 'langPath' in https://github.com/martinlindhe/laravel-vue-i18n-generator/blob/master/src/config/vue-i18n-generator.php#L14

ghost commented 5 years ago

Never mind, thank you!