简体   繁体   中英

How to write WebApp to reuse source code in Ionic

What should be requirements on source code of WebApp to be sure that in easy way we adopt it in Ionic's application. The question is inversion of How to use Ionic Framework for Web App Development?

There are recommended practises for Angular.JS ?

A good start is simply to write your angular app with good clean design and encapsulation of proper things into services and directives.

You should definitely be able to reuse many services. I've even had a few directives work out by applying different CSS to them.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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