Emberjs Handlebars precompiling

前端 未结 6 2228
庸人自扰
庸人自扰 2020-12-23 14:44

My Emberjs app is running slowly so I wanted to precompile my template to ease the runtime a bit. However I\'m lost on how to proceed. I read http://handlebarsjs.com/precomp

6条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-23 15:14

    You could also use Grunt.js and a handlebars template compiler. I've used the "grunt-ember-templates" plugin and it works well.

    http://gruntjs.com/

    https://npmjs.org/package/grunt-ember-templates

提交回复
热议问题