我是 Yeoman 和 Grunt 的新手,在执行“grunt serve:dist”之后,我对样式表有了很大的了解。
它改变了字体宽度,在标题中添加了一些填充,实际上完全破坏了一个表格,我不知道从哪里开始调试,但我相信它确实找到了 CSS,因为字体样式确实改变了,它正在读取JS,我放了一些 console.log() 来查看它是否正常工作,但也有一些例外情况,例如(Chrome 控制台):
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/styles/fonts/slick.woff
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/styles/ajax-loader.gif
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/styles/fonts/slick.ttf
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/styles/fonts/slick.svg#slick
任何想法?