Ad

Onsen 2.0 V 1.x - Pure JS

- 1 answer

Sorry if this is a very basic question, but the documentation seems to be somewhat conflicting regarding Onsen with Monaca. I am using Monaca cloud and I only want to use pure JS - no angular or react. Those frameworks will add too much overhead for what I am trying to accomplish which is a very basic app. So my question is, it appears Onsen 2.0 divests from those frameworks yet the sample template in the cloud ide somewhat indicates that you need to use angular for the flat iOS design. If I only want to use non-framework integrated JS, which Onsen should I be using 1.x or 2.0?

Ad

Answer

If you want to use just pure JavaScript, you should choose Onsen UI 2.0 At the moment, it's the only agnostic mobile hybrid app framework on the market. Onsen UI 1.x is based on AngularJS 1.x, which is not suitable for your purpose.

Take a look at the following link if you want to learn more about Onsen UI 2.0

https://onsen.io/2/

Ad
source: stackoverflow.com
Ad