1. If you need to adapt an existing completed angular web project to the mobile terminal, what steps or additional work is required to achieve an effect similar to a native app?
2. If you use angular to do a new project, what are the requirements? What steps are needed to implement mobile adaptation (like a native app).
3. Is it necessary to write two sets of js to adapt to the mobile terminal?
4. What kind of UI libraries are recommended
Newbie, the question is not very professional, I hope you can answer it with your own understanding
高洛峰2017-05-15 17:04:44
1. If you already have a completed angular web project, if you want to achieve a feeling similar to a native app, the most important thing is to make the UI the same as the native one. This may also require adjusting your original page layout. , or even some interactive effects; it is still quite troublesome.
2. If you use angular to make a new project and require mobile adaptation; I personally think that you should first choose a mobile UI framework, and then what you need to do on the front end is to try to use delayed loading (on-demand loading) to load our application; because the mobile terminal has higher performance requirements.
3. Generally speaking, if you are using responsive frameworks like bootstrap or foundation, you do not need to write two sets of style files. If it is a non-responsive framework, you will need to write two sets of styles, and you may also need to write some additional JavaScript
to assist in implementing certain styles on the mobile side.
4. Recommended UI library:
ionic Hybrid App
framework7 Full Featured Mobile HTML Framework For Building iOS & Android Apps
amazeUI Made in China, used, not bad; recommend it
weiui Tailor-made for WeChat Web services. I have used it and it is very good. I recommend it
weex A framework for building Mobile cross-platform UI, from Alibaba, is not open source yet, but you can apply for it. I have never used it. I have seen the android version demo and it is not bad.
onsen UI HTML5 Hybrid Mobile App Framework and UI Components for PhoneGap & Cordova.
mobile Angular UI Build HTML5 Mobile Apps with Bootstrap and Angular JS
kendo UI The Most Complete UI Framework to Speed Up Your HTML/JS Development
jquery mobile Old UI