Closed sunflowerdeath closed 9 years ago
You shouldn't need a loader if you're precompiling your templates. You should just need to include the precompiled templates' script in your page, or include the script as part of a larger minified bundle. On Feb 19, 2014 6:28 AM, "sunflowerdeath" notifications@github.com wrote:
If i replace WebLoader with my own loader, precompiled templates are not available.
Usage of precompiled templates does not mean than I want to use web loader. For example, i can have my templates in Githubissues.
Githubissues is a development platform for aggregating issues.
If i replace WebLoader with my own loader, precompiled templates are not available.
Usage of precompiled templates does not mean than I want to use WebLoader. For example, i can have my templates in
<script>
tag on the page, not somewhere in the web, but in the same time I want to use some templates in precompiled way.If u will make separate loaders for precompiled templates and for web loading, it will be possible to use precompiled templates loader with my own loaders together.
Here's example of separate loaders: https://gist.github.com/sunflowerdeath/9093146