Skip to main content
Version: v8

Ionic JavaScript Overview

@ionic/javascript offers a powerful way to build cross-platform applications using JavaScript, and it integrates seamlessly with modern tooling like Vite. This combination allows you to leverage your existing JavaScript knowledge and the efficiency of Vite to create high-quality, performant apps with Ionic's extensive UI library and native capabilities.

JavaScript Version Support

Ionic JavaScript, when used with Vite, supports the latest versions of JavaScript, ensuring you can use modern language features in your projects.

JavaScript Tooling

Ionic JavaScript is designed to work hand-in-hand with the JavaScript CLI and popular tooling. When you choose Vite as your build tool, you gain access to its incredibly fast development server and optimized build process. You can continue to use your favorite JavaScript libraries for state management, testing, and more within this ecosystem.

Native Tooling

Capacitor is the official cross-platform runtime for Ionic JavaScript, enabling your apps to run natively on iOS, Android, and the web with a single codebase.

Installation

$ npm create vite@latest myApp -- --template vanilla
$ npm install && npm install @ionic/core
$ npm run dev

Resources

Ionic Core

Quickly set-up your JavaScript application with Ionic Custom Components.