Skip to content

Child Stacks treated as import into parent #802

@joeworkman

Description

@joeworkman

Right now Parent and Child stacks are both treated as individual stacks when exporting. Their HTML, CSS, JS, etc are processed individually and exported to the respective locations.

It could be nice if a child stack could be made to be an extension of its parent. When a child stack setting is changed, the parent and all of its child stacks would get processed.

I am envisioning this for larger stacks like Site Styles. I thought that this concept would be great for allowing users to pick what settings/feature they may want by simply adding a child stack into Site Styles. What really makes this tough to do now is with Sass templates. it would be awesome to combine the Sass from child stacks into the processing of its parent stack.

If we were able to have a %slice% concept inside the Sass/CSS we could determine where in the parent code, its children's code would be inserted. I am sure that this could be interesting for other template types as well.

Hopefully I am describing this properly...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions