推荐关注
Meteor
JSLint - a JavaScript code quality tool
jsFiddle
D3.js
WebStorm
推荐书目
JavaScript 权威指南第 5 版
Closure: The Definitive Guide
flyingkid

轻量级模板引擎有什么推荐,要求不高能达到 underscore template 这样就行了,项目依赖 jquery 不依赖 undersco 所以我就不想引入 underscore 了

  •  
  •   flyingkid · Mar 29, 2017 · 2978 views
    This topic created in 3356 days ago, the information mentioned may be changed or developed.
    10 replies    2017-03-29 17:19:49 +08:00
    murmur
        1
    murmur  
       Mar 29, 2017
    art template?
    yoa1q7y
        2
    yoa1q7y  
       Mar 29, 2017   ❤️ 1
    Cbdy
        3
    Cbdy  
       Mar 29, 2017
    不知道又没有类似于 thymeleaf 语法的前端渲染引擎
    ClassicOldSong
        4
    ClassicOldSong  
       Mar 29, 2017 via Android
    https://github.com/ClassicOldSong/ef.js
    开发中,自带数据绑定+增量更新的静态模板引擎
    jarlyyn
        5
    jarlyyn  
       Mar 29, 2017
    gowk
        6
    gowk  
       Mar 29, 2017
    推荐 doT.js
    7anshuai
        7
    7anshuai  
       Mar 29, 2017   ❤️ 1
    https://github.com/7anshuai/dollar.template 从 underscore 里扒出来丢到$里了
    lijsh
        8
    lijsh  
       Mar 29, 2017
    underscore 里的模版函数就那么几十行,直接复制就行了。
    LeoEatle
        9
    LeoEatle  
       Mar 29, 2017
    我记得 jquery 好像也有模板渲染啊
    其实最好就直接用 ES6 的模板字符串语法,加个 babel 就好了
    flyingkid
        10
    flyingkid  
    OP
       Mar 29, 2017
    @7anshuai 完美。我要的就是这种。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1028 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 18:44 · PVG 02:44 · LAX 11:44 · JFK 14:44
    ♥ Do have faith in what you're doing.