Closed plequang closed 9 years ago
Hi,
After the discussion about bundling templates in #81, would it be possible to select a template in an imported file by its id ?
Based on your comment https://github.com/erikringsmuth/app-router/issues/81#issuecomment-74425009, this could look like this :
<template id="template1"> </template> <template id="template2"> </template> <app-route path="/example" import="/pages/example-page.html" template="template2"></app-route>
I'll create a PR with this implementation, but let me know if you prefer a different one.
Pascal
Yeah, this sounds good. I'll check out the PR tonight.
Merged to master! I'll get another release out soon.
Hi,
After the discussion about bundling templates in #81, would it be possible to select a template in an imported file by its id ?
Based on your comment https://github.com/erikringsmuth/app-router/issues/81#issuecomment-74425009, this could look like this :
I'll create a PR with this implementation, but let me know if you prefer a different one.
Pascal