【发布时间】:2019-10-28 08:38:20
【问题描述】:
我正在使用 gulp,但我很困惑,在构建之后我的所有路径都是错误的。
例如:
SRC :
pages -> home.html, buy.html (src="../assets/img/test/test.png" used to get all images)
partials -> navigation.html, footer.html
assets -> js,scss,img folders
layouts -> layout.html
编译后:
DIST :
assets -> js,css,img folders
home.html (with ../assets.... url's) - dont work, wrong path
buy.html (with ../assets.... url's) - dont work, wrong path
【问题讨论】:
标签: javascript html gulp