Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A minimal Angular app template that deploys to Vercel with zero configuration.
Angular Vercel is a minimal Angular application template, generated with Angular CLI version 13.1.3, that deploys to Vercel with zero configuration. The template provides a standard Angular project structure with local development, testing, and build tooling, and is published by Vercel as part of its examples directory (repository: https://github.com/vercel/vercel/tree/main/examples/angular). A live demo is available at https://angular-template.vercel.app.
This template is a starter Angular app that you can deploy to Vercel without writing any deployment configuration. It takes a source Angular project and produces a live website via Vercel's build system. The project was generated with Angular CLI 13.1.3, so it includes the standard set of files and scripts (angular.json, package.json, src/, etc.) you would get from a fresh Angular CLI install. Vercel provides the template as an example in its GitHub repository.
The template is a standard Angular CLI project. To deploy, you can click the "Deploy with Vercel" button, which redirects to Vercel's new-project flow using this example's repository URL, or you can connect a fork of this repository to your Vercel account. Vercel automatically detects the Angular CLI and runs the build command, then serves the output.
Run ng serve in the project root, then open http://localhost:4200/. The server watches your source files and automatically reloads the page when they change.
Run ng build. The generated artifacts are placed in the dist/ directory at the project root.
Run ng generate component component-name. The Angular CLI will create the component files and update the module. You can also generate directives, pipes, services, classes, guards, interfaces, enums, and modules.
The ng e2e command is configured, but you must first add a package that implements end-to-end testing capabilities, as noted in the README. No e2e runner is installed by default.
Run ng help for inline help, or visit the Angular CLI Overview and Command Reference at https://angular.io/cli.
