我想在 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
git clone [email protected]:dianyij/path_example.git
cd path_example
npm start
谢谢