npm init @nitedani/vite-angular-app
- Fast live-reload, both in browser(vite) and server code(vavite)
- Easy SSR(optional) using Vike
- Optionally, in development mode, it uses SWC and the Angular JIT compiler in the browser to keep it fast.
- In build mode, it uses the Angular AOT compiler to produce small bundles.
Related packages | Included in @nitedani/vite-plugin-angular |
---|---|
@nitedani/angular-renderer-core | ✓ |
@nitedani/angular-renderer-express | X |
@nitedani/angular-renderer-nestjs | X |
@nitedani/vite-plugin-ssr-adapter-express | X |
@nitedani/vite-plugin-ssr-adapter-nestjs | X |
// vite.config.ts
import { defineConfig } from "vite";
import { angular } from "@nitedani/vite-plugin-angular/plugin";
export default defineConfig({
plugins: [angular()],
});