marko-js-samples / ui-components-playground-lasso-express

Sample app that demonstrates the power of building UI components using Marko
https://ui-components-playground.herokuapp.com/
26 stars 13 forks source link

Reference optimizer.json within tag? #1

Closed viviangledhill closed 9 years ago

viviangledhill commented 9 years ago

The marko-taglib.json references the components dir. You add your tag to your page and in addition to that you have to link every single component optimizer.json in the page optimizer.json

Is there a way to avoid this duplicate linking? The tag itself and the link in the optimizer.json?

For example add an attribute to the tag similar to w-bind instead of the optimizer.json link?

Thanks -Vivian

viviangledhill commented 9 years ago

main discussion