Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 15, 2018. It is now read-only.
This repository was archived by the owner on Aug 15, 2018. It is now read-only.

html include功能怎么实现 #1390

@wzsxyz

Description

@wzsxyz

页面公共部分怎么分离?比如头部、底部,还有加载基础资源部分。
require文件算是可以解决部分问题,但需要在js加载前输出的就不能处理了,还有远程的js也不能用require加载。
想自己写loader,把html配置在output中,构建时html只是copy,也没进行处理,配置loader也没用。
不能实现这个的话,就只适合做模块开发,不适合项目开发了

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions