Skip to content

when import partial, support import directory #29

@creeperyang

Description

@creeperyang

Currectly (v1.1.0), we must write:

{{> common:header/index.html}}

to import header component. It's better to support {{> common:header}}.

If sugar find the path is directory, it should automatically add index.html.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions