Skip to content

Can I use src import on SFC custom block? #269

@Ocyss

Description

@Ocyss

Because I wrote a lot of route.meta values, my .vue file is very long, and I don’t change route.meta often, so I plan to split it and put it in a separate yaml file. Moreover, it bothers me that the yaml in sfc is highlighted but not formatted, so I think it would be more convenient and elegant to put it in a separate yaml file.

But I found that route sfc does not support src to import a file. Can you help me?

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⚡️ enhancementimprovement over an existing feature

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions