ember.js - How to load an external html into an html using emberjs -


my current html page has run 1000 lines of code. wanted make more manageable.

so kind of solution i'm looking -

<script type="text/x-handlebars" data-load-template="detail.html"> 

and code should able load detail.html external source.

how do it?

you may choose use kind of build tool grunt compile handlebars files javascript , attach them code.

here project may find useful: https://github.com/yaymukund/grunt-ember-handlebars


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -