martinlindhe / laravel-vue-i18n-generator

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

Add root path to artisan command #115

Open Flaxxen1988 opened 4 years ago

Flaxxen1988 commented 4 years ago

Hi, can you maybe add an option to the command to change the root path?

I'm using Laravel modules and with this little change we could generate a translation per module and load this file via main app.js

Now you only can generate the files inside the folder which is defined in the config file.