我正在使用 nuget 将 jQuery 和 jQuery Mobile 包加载到我的元素中。 Nuget 正在加载 jquery.mobile-1.0.1.min.css 和 jquery.mobile.structure-1.0.1.min.css。我应该使用哪个?两个都?有什么区别?
最佳答案
主要区别在于 jquery.mobile.structure-1.0.1.min.css
提供基本的 css 样式,而 jquery.mobile-1.0.1.min.css
是结构加上默认主题样本。
如果您使用自己的自定义主题(可能来自 themeroller ),那么只使用结构文件应该没问题。 Check out this page有关不同下载配置的更多信息。
关于css - asp.net mvc nuget 加载 2 个版本的 jQuery Mobile CSS 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9102734/