Meta tags:
description= The web development framework for building modern apps.;
author= Angular Team;
keywords= Angular framework, TypeScript, web development, hydration, Signals, standalone components, accessibility, performance;
Headings (most frequently used words):
community, serving, angular, apps, for, development, on, this, page, proxying, to, backend, server, social, media, resources, translations, path, matching, behavior,
Text of the page (most frequently used words):
#angular (28), the (18), api (16), serve (12), server (10), build (9), for (9), and (7), cli (7), proxy (6), builder (6), new (6), google (5), users (5), with (5), file (5), target (5), developer (4), docs (4), your (4), you (4), development (4), json (4), http (4), project (4), can (4), apps (4), code (3), v22 (3), matches (3), 123 (3), any (3), configuration (3), this (3), dev (3), architect (3), localhost (3), serving (3), schematics (3), updated (3), licensed (2), under (2), style (2), community (2), youtube (2), but (2), not (2), path (2), that (2), changes (2), src (2), conf (2), proxyconfig (2), app (2), projects (2), add (2), option (2), 3000 (2), following (2), content (2), divert (2), backend (2), proxying (2), used (2), default (2), application (2), skip (2), start (2), tools (2), aot (2), errors (2), libraries (2), using (2), end (2), testing (2), workers (2), service (2), animations (2), release (2), setup (2), menu (2), super, powered, 2010, 2026, documentation, built, sha, ff0068a, mit, license, 正體中文版, 简体中文版, 日本語版, 한국어, русский, türkçe, oʻzbekcha, français, español, azərbaycanca, translations, roadmap, press, kit, resources, experts, devlibrary, report, issues, conduct, contribute, stack, overflow, github, discord, bluesky, formerly, twitter, blog, social, media, starts, such, matching, behavior, apply, made, must, restart, process, note, run, call, options, false, secure, create, folder, use, certain, urls, passing, example, all, calls, running, take, steps, 4200, config, support, back, top, arrow_upward_alt, page, test, invokes, named, determine, which, being, particular, looking, only, executes, specified, while, here, most, common, command, will, compile, unnecessary, optimizations, devserver, automatically, rebuild, live, reload, subsequent, stop, pressing, ctrl, metadata, ahead, time, compilation, template, type, checking, authoring, generating, builders, environments, migrating, system, deployment, building, local, set, overview, arrow_back, material, cdk, player, pay, maps, fire, tailwind, custom, pipeline, web, pwas, rxjs, legacy, ngmodules, extended, ecosystem, v21, events, keeping, date, performance, unhandled, accessibility, security, guide, best, practices, language, devtools, webmcp, design, patterns, tutor, mcp, agent, skills, llm, prompts, ide, get, started, drag, drop, internationalization, aria, side, hybrid, rendering, client, forms, routing, dependency, injection, directives, templates, components, signals, depth, guides, coding, essentials, installation, what, introduction, more_horiz, reference, playground, tutorials, close, main,
Text of the page (random words):
serving angular apps for development angular skip to main content menu close v22 k docs tutorials playground reference more_horiz menu docs introduction what is angular installation essentials start coding in depth guides signals updated components templates directives dependency injection updated routing forms updated http client server side hybrid rendering testing angular aria new internationalization animations drag and drop build with ai get started llm prompts and ai ide setup agent skills new angular cli mcp server setup angular ai tutor design patterns webmcp new developer tools angular cli libraries devtools language service best practices style guide security accessibility unhandled errors in angular performance keeping up to date developer events angular v22 release new angular v21 release extended ecosystem ngmodules legacy animations using rxjs with angular service workers pwas web workers custom build pipeline tailwind angular fire google maps google pay youtube player angular cdk angular material arrow_back angular cli overview local set up building angular apps serving angular apps for development deployment end to end testing migrating to new build system build environments angular cli builders generating code using schematics authoring schematics schematics for libraries template type checking ahead of time aot compilation aot metadata errors developer tools angular cli serving angular apps for development you can serve your angular cli application with the ng serve command this will compile your application skip unnecessary optimizations start a devserver and automatically rebuild and live reload any subsequent changes you can stop the server by pressing ctrl c ng serve only executes the builder for the serve target in the default project as specified in angular json while any builder can be used here the most common and default builder is angular build dev server you can determine which builder is being used for a particular project by looking up the serve target for that project projects my app architect ng serve invokes the architect target named serve serve builder angular build dev server build test on this page arrow_upward_alt back to the top proxying to a backend server use proxying support to divert certain urls to a backend server by passing a file to the proxy config build option for example to divert all calls for http localhost 4200 api to a server running on http localhost 3000 api take the following steps create a file proxy conf json in your project s src folder add the following content to the new proxy file api target http localhost 3000 secure false in the cli configuration file angular json add the proxyconfig option to the serve target projects my app architect serve builder angular build dev server options proxyconfig src proxy conf json to run the development server with this proxy configuration call ng serve note to apply changes made to your proxy configuration file you must restart the ng serve process path matching behavior api matches api and any path that starts with it such as api users 123 or api docs api matches api users but not api or api users 123 api matches api api users and api users 123 but not api docs social media blog x formerly twitter bluesky youtube discord github stack overflow community contribute code of conduct report issues google s devlibrary angular google developer experts resources press kit roadmap community translations azərbaycanca español français oʻzbekcha türkçe русский 한국어 日本語版 简体中文版 正體中文版 super powered by google 2010 2026 code licensed under an mit style license documentation licensed under cc by 4 0 built by angular at v22 2 6 sha ff0068a
|