【发布时间】:2017-10-29 14:12:33
【问题描述】:
我的文件夹结构,
public---|
|-index.html
|-static-|
|-static.html
当我以 localhost:4000 运行项目时,它指向公共文件夹并加载了 index.html 但现在我想加载 staic.html 我输入 localhost:4000/static 但仍然加载 index.html 任何人都可以帮助我。在此先感谢。
【问题讨论】:
-
以这种方式输入 localhost:4000/static/static.html 或将 static.html 重命名为 index.html
标签: javascript html css angularjs directory