You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run infuse, I get garbled i18n blocks in widgets.vue, something like this:
<i18n lang="yaml">
en-GB:
foo: bar
create:
foo: bar
list:
foo: bar
It seems to be taking the messages from the sub-components - create and list - and putting them into widgets.vue. Presumably it's getting confused between widgets.vue and the widgets directory.
Is there some additional option I need to use, or do I need to rename my files? I'm using nuxt, so the filenames represent paths; renaming them might be difficult.
The text was updated successfully, but these errors were encountered:
allanlewis
changed the title
infuse fails when a directory shares a nam with a component at the same levelinfuse fails when a directory shares a name with a component at the same level
Mar 3, 2022
I have a directory structure something like this:
When I run
infuse
, I get garbledi18n
blocks inwidgets.vue
, something like this:It seems to be taking the messages from the sub-components -
create
andlist
- and putting them intowidgets.vue
. Presumably it's getting confused betweenwidgets.vue
and thewidgets
directory.Here are the commands I'm using:
Is there some additional option I need to use, or do I need to rename my files? I'm using
nuxt
, so the filenames represent paths; renaming them might be difficult.The text was updated successfully, but these errors were encountered: