因此,我在让bootstraps glyphicons正常工作时遇到了很多问题。我终于能够让他们在现场展示了。我现在遇到的唯一问题是我的DOM中出现了以下错误:
GET http://localhost:3000/fonts/glyphicons-halflings-regular.woff2 jquery.self-660adc5….js?body=1:3734
GET http://localhost:3000/fonts/glyphicons-halflings-regular.woff localho
我试图从assetic:dump shell运行Symfony2,但它在某个时候停止并挂在那里,这是我得到的消息:
错误源文件"/var/www/html/app/../vendor/twbs/bootstrap/fonts/glyphicons-halflings-regular.eot“不存在。
我过去使用过MopaBootstrapBundle,但是不再需要,所以我删除它,然后运行所有这些命令:
Symfony > cache:clear
Clearing the cache for the dev environment with debug true
Symfo