Enhancement: support for registering multiple file extensions for components #26

Open
paulrobertlloyd opened this Issue Mar 10, 2016 · 2 comments

Projects

None yet

3 participants

@paulrobertlloyd
Contributor

Most of my components are HTML, but some are SVG. What if I wish to have them both types use their correct file extensions… possible?

@paulrobertlloyd paulrobertlloyd changed the title from Enhancement: support for registering multiple named file component extensions to Enhancement: support for registering multiple file extensions for components Mar 10, 2016
@allmarkedup
Member

Possible... but then we get into the the question of should each of those be able have their own template engine/parser specified. I'm not against it but would require a bit of work to keep the configuration settings straightforward.

I'll leave this open for now but I think this will be a post v1.0 feature request as I'm not sure the use case is very common.

@allmarkedup allmarkedup added this to the 2.0 milestone Mar 10, 2016
@shawnbot

Couldn't SVG components just be encoded as HTML, sans the XML prolog? Also, I'm really curious what an example of an SVG component looks like!

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