thiagocordeiro/laravel-translator

Scan vuejs files for translations

AMAFsoft opened this issue · 4 comments

In my *.vue files I'm using the same translation function __('') ;
is there a way to add vue files to the list of scannable files?
Example :

<template>
  <div>{{__('Hello')}}</div>
</template>

This solution works great for me:
$files = glob_recursive("{$path}/*.{php,vue}", GLOB_BRACE);
But if you could add it officially to this package would be great.

Done!
#27

Available on version v1.1.0