Home > Software design >  Using the Ionic framework with plain JavaScript
Using the Ionic framework with plain JavaScript

Time:09-08

Can one use the Ionic framework with plain Javascript (aka. without the recommended frameworks like react, angular or vue)?

If yes, how?

CodePudding user response:

In short: Yes, in the same as way you can use wordpress.

According to the official documentation:

One of the main goals with moving Ionic to Web Components was to remove any hard requirement on a single framework to host the components. This made it possible for the core components to work standalone in a web page with just a script tag. While working with frameworks can be great for larger teams and larger apps, it is now possible to use Ionic as a standalone library in a single page even in a context like WordPress.

CodePudding user response:

yes, you can build Ionic apps using VanillaJS or take advantage of Vue, React or Angular or Stencil

all components documentation available for JavaScript it's recommended to use React or Vue,... for large scale application but if you want use plain JS it's available.

From Ionic framework documentation:

One of the main goals with moving Ionic to Web Components was to remove any hard requirement on a single framework to host the components. This made it possible for the core components to work standalone in a web page with just a script tag

  • Related