Skip to content

Weird json external file loading #19

@shaan1974

Description

@shaan1974

Reporting a bug?

I got a weird behaviour when i add sometime a sub node into my json related to the languages.
The weirdest thing is that when i'm working in dev it's ok , this error only append with the build version.

In the screenshot below, if i remove the node "p" with ( v and z inside ) the error disapear.

Module versions (please complete the following information):

  • @intlify/vue-i18n-loader: 2.0.3
  • vue-i18n: 9.0.0
  • vue: ^3.0.11

Screenshots
image

End my structure.

Generated code with build

image

The "undefinediundefined" line is created into the build code.

If i remove the node "p" in my json i got this in source code

image

So in the line before $e.render = Me , undefinedundefined is not existing.

By the way thanks for your great work.

Comment.

It's seems that if i put my json file content into "https://jsonformatter.curiousconcept.com/" online tool and after i get the formatted result and i paste it into my json file it's working perfectly. Could be problem of indentation ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions