A Vite plugin for integrating Angular into Vite-based projects. This package provides a bridge between the Vite build tool and Angular's compilation pipeline, enabling faster development with Hot Module Replacement (HMR) for Angular applications. The current version is 0.0.0, which is an early release with limited stability. It differentiates from Angular CLI by offering Vite's speed and flexibility, but lacks mature documentation and may have breaking changes. Release cadence is irregular due to its alpha stage.
npm install vite-plugin-angularVerified import paths — ran on the pinned version, not inferred.
Basic setup of vite-plugin-angular in a Vite config file. It shows how to import and use the plugin as a Vite plugin.
Pin to a specific commit or wait for a stable release.
Check compatibility with your Angular version; consider using @angular/build or analog for production.
Refer to GitHub repository source code or examples.
Use: import angular from 'vite-plugin-angular'
Run: npm install vite-plugin-angular --save-dev
Use: plugins: [angular()] (with parentheses)