简体   繁体   English

离子在浏览器中工作而不在设备中

[英]Ionic working in browser not in device

I am understanding Ionic. 我了解离子。 My custom css are working fine in browser.I'm expecting a blue color 'binesh' and an edit symbol 我的自定义css在浏览器中工作正常,我期望有一个蓝色的'binesh'和一个编辑符号 在此处输入图片说明

but in device it is not working. 但在设备中无法正常工作。 在此处输入图片说明

I was actually trying to work with ionicons which started to work fine in browser. 我实际上是在尝试与离子子一起使用,该子在浏览器中开始正常工作。 but when i build on device its not working. 但是当我在设备上构建它不起作用。 I got doubt on css file not getting added and so i added my own css file. 我对未添加css文件存有疑问,因此我添加了自己的css文件。 That also behaving same way(seems css is not working) 这也表现出相同的方式(似乎css无法正常工作)

This is how i added css file to index.html and solution explorer shows build placed things in correct folder 这是我将css文件添加到index.html的方式,解决方案资源管理器显示了将构建的东西放置在正确的文件夹中 在此处输入图片说明

And app.css is as follows 和app.css如下 在此处输入图片说明

And I'm using this in Hello-ionic as folows 我在Hello-ionic中使用它 在此处输入图片说明

I'm wasting about 3 days in this area and don't know what i'm doing wrong. 我在这方面浪费了大约3天的时间,不知道我在做什么错。 Please help.... 请帮忙....

Thanks & Regards Binesh 谢谢与问候Binesh

This is a problem ionic team have to handle. 这是离子团队必须解决的问题。 The path for the css file is case sensitive made me loss of 3 days. css文件的路径区分大小写,使我损失了3天的时间。 I was having path 'progmanSpecific' instead 'progManSpecific'. 我的路径是“ progmanSpecific”而不是“ progManSpecific”。 Now the question is how can i contact them? 现在的问题是我该如何联系他们?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM