Closed zhengfen closed 5 years ago
Hi, All,
as for translation, I use barryvdh/laravel-translation-manager for admin users to manage translations.
then martinlindhe/laravel-vue-i18n-generator to share Laravel localizations with vue front-end
when user update translations, js will not be updated automatically
I added in controller \Artisan::call('vue-i18n:generate');
then how can I ask the app to run 'npm run production' from controller?
I found answer from doc of martinlindhe/laravel-vue-i18n-generator:
php artisan vue-i18n:generate --format umd
can I delete this question.....
Hi, All,
as for translation, I use barryvdh/laravel-translation-manager for admin users to manage translations.
then martinlindhe/laravel-vue-i18n-generator to share Laravel localizations with vue front-end
when user update translations, js will not be updated automatically
I added in controller \Artisan::call('vue-i18n:generate');
then how can I ask the app to run 'npm run production' from controller?
any ideas? Thank you in advance.
I found answer from doc of martinlindhe/laravel-vue-i18n-generator:
php artisan vue-i18n:generate --format umd
can I delete this question.....