V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
xiyangyang
V2EX  ›  Node.js

请教如何编译多个 HTML 文件

  •  
  •   xiyangyang · 2018-07-17 07:33:26 +08:00 · 3228 次点击
    这是一个创建于 2082 天前的主题,其中的信息可能已经有所发展或是发生改变。

    问个问题,如何在 package.json 里从多个.hbs 产生多个 html 文件? 源代码: "template": "node ./build/templater.js index2.hbs index2.html", 只能每次编译一个文件,希望能每次编译所有的 hbs 文件到对应的 Html 文件。

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2833 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 13:17 · PVG 21:17 · LAX 06:17 · JFK 09:17
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.