shin
V2EX  ›  Node.js

express 4 怎样配置 art-template 3 ?

  •  
  •   shin · Jun 12, 2014 · 5287 views
    This topic created in 4529 days ago, the information mentioned may be changed or developed.
    express 4 有 app.engine(ext, callback),
    art-template 官方的配置说明还是 app.register('.html', require('art-template'));

    有哪位朋友配置过么?
    3 replies  •  2014-06-13 23:15:32 +08:00
    yimity
    yimity
    Jun 13, 2014
    1
    每次大版本升级,都是大坑啊。
    renyuan1985
    renyuan1985
    Jun 13, 2014
    2
    大版本升级,必定啃爹一段时间
    shin
    shin
    OP
    Jun 13, 2014
    3
    @renyuan1985 @yimity 个人业余水平有限,看源码好久也没弄明白。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2539 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 15:07 · PVG 23:07 · LAX 07:07 · JFK 10:07
    ♥ Do have faith in what you're doing.