DEV Community

Discussion on: How to use Laravel translations in JS (vue) files?

Collapse
 
solewandererph profile image
solewandererph • Edited

This one works inside the component element:
__("I'm an example component.")

But in the script doesn't.

What did I miss?