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.
我创建了一个具有特定颜色背景的视图,我只想在该视图中显示颜色,而不是在应用程序的其他视图中。但是,当我将它添加到 时MeanUser.aggregateAsset ('css', 'signin.css'),我总是在“modules/aggregated.css”中获得全局,因此所有视图都采用该背景。那么如何只为当前视图而不是所有应用程序聚合一个 css 文件呢?有什么帮助吗?
MeanUser.aggregateAsset ('css', 'signin.css')
不确定现在是否可以完成。我想它需要不作为另一个有条件加载的资源存在于聚合中。我会和其他团队成员一起检查。欢呼 Lior