Laravel translation loader in Vuejs #132
Unanswered
IAmShafqatAli
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am using this laravel-translation-loader package and it been workign flawleslly in laravel blade.
I have a question, Is there any possible way you can use this trans() method directly inside vue component.
I have seen one package which is https://www.npmjs.com/package/laravel-permission-to-vuejs which lets you use
laravel permission directly inside vue component.
I was thinking if there is anything similar for translation loader ? or Do I have to custom write my own directives ?
P.S. for the moment I am passing lang lines to component through props. Like example below.
Beta Was this translation helpful? Give feedback.
All reactions