Skip to content

when import partial, support import directory #29

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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