V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
0bject
V2EX  ›  问与答

在 index.html 中如何引入 node_modules 下的文件

  •  
  •   0bject · 2020-03-11 14:53:54 +08:00 · 1578 次点击
    这是一个创建于 2009 天前的主题,其中的信息可能已经有所发展或是发生改变。

    我想在 index.html 中引入 node_modules 下的文件,不知道该怎么引了。 stackoverflow 上的加入 express.static 的方法不好用。

    demo 在这 https://github.com/dianyij/path_example

    引用的语句在这 https://github.com/dianyij/path_example/blob/dba01ccf61dc5518034d039df879e50903c1ece0/index.html#L5-L6

    谢谢

    目前尚无回复
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1262 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 17:30 · PVG 01:30 · LAX 10:30 · JFK 13:30
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.