V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
xiyangyang
V2EX  ›  Node.js

请教如何编译多个 HTML 文件

  •  
  •   xiyangyang · Jul 17, 2018 · 3838 views
    This topic created in 2842 days ago, the information mentioned may be changed or developed.

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

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3309 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 13:10 · PVG 21:10 · LAX 06:10 · JFK 09:10
    ♥ Do have faith in what you're doing.