search

Home  >  Q&A  >  body text

angular.js - 使用ionic && angulaJs开发,如何兼容移动端和pc端?

是这样的,最近在弄ionic && angularjs的开发,ionic在移动端是很友好的,但是如果pc也用一套的模板,怎么兼容呢?除了使用响应式来达到这个效果,还有其他可行的方案吗?
如果不用同一套模板,怎么很好的切换呢?

过去多啦不再A梦过去多啦不再A梦2744 days ago595

reply all(1)I'll reply

  • 天蓬老师

    天蓬老师2017-05-15 17:09:06

    Don’t think about it, ionic is very unfriendly to the PC side. For example, ionic provides encapsulation of checkbox, radio, etc. in the form, which is completely unusable on the PC side.
    The original intention of the ionic framework is to do mobile development. If you want to do PC development, it is recommended to change to a UI framework.
    If you really use a set of UI framework + angular to develop mobile and PC first, you can try [materializecss ]: http://materializecss.com/

    reply
    0
  • Cancelreply