Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在我的项目中使用的是bootstrap-sass,生成的文件大于288KB,在IE6和IE7中不起作用。
如何处理这个问题?
谢谢
没见过Bootstrap的SASS实现,但对LESS版本比较熟悉。在引导文件中,您会注意到它执行了几个包含以包含所有其他 LESS,在您的情况下是 SASS 文件。我首先会从 Bootstrap 中排除您不需要的 CSS。注意有些有依赖关系,但您可以切换 SASS 文件中的项目并适当地重新打包以处理依赖关系。
希望有帮助。