Menu

πŸ“°
0

The fastest way to start a Mithril + Ionic + Vite project in 2025

DEV Community: ionicΒ·Dominic JeanΒ·about 1 month ago
#YkapLCmS
#dev#class#strong#code#vitriol#article
Reading 0:00
15s threshold

Building mobile-ready web applications often involves a heavy stack. You have React, Angular, or Vue combined with a UI framework, and suddenly your bundle size is massive before you've even written a line of code. Enter Mithril.js . It's a modern client-side JavaScript framework for building Single Page Applications. It's small (< 10kb gzip), fast, and provides routing and XHR utilities out of the box. Combine that with Ionic Framework for native-like UI components and Vite for instant dev server start times, and you have a powerhouse stack for rapid development. But setting this up manually? Configuring Vite to handle Mithril's JSX (or Hyperscript), setting up Ionic's loader, configuring the router... it's a pain. That's why I built create-vitriol . What is Vitriol? create-vitriol is a scaffolding tool that sets up a production-ready Mithril.js project powered by Vite. It supports: ⚑️ Vite : Instant server start and HMR. πŸ“± Ionic : Optional integration for mobile UI components.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More