0bject
V2EX  ›  问与答

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

  •  
  •   0bject · Mar 11, 2020 · 1762 views
    This topic created in 2264 days ago, the information mentioned may be changed or developed.

    我想在 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

    谢谢

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