将HTML项目捆绑到一个HTML文件中

时间:2020-08-24 07:10:16

标签: javascript html node.js npm

我具有以下结构的静态HTML报告

 def _insert_entities_of_type(self,
                              entity_type,
                              entities,
                              fiware_service=None,
                              fiware_servicepath=None):
    for e in entities:
        if e[NGSI_TYPE] != entity_type:
            msg = "Entity {} is not of type {}."
            raise ValueError(msg.format(e[NGSI_ID], entity_type))

如何将所有这些捆绑在一起以生成单个report.html?

1 个答案:

答案 0 :(得分:0)

看看https://github.com/chyingp/grunt-inline

但是,根据/ pages和/ attachments文件夹中的内容,您可能需要一些额外的技巧

相关问题