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):
schematics, for, cli, community, generating, code, using, on, this, page, the, angular, developing, libraries, social, media, resources, translations, configuring, add, generation, update,
Text of the page (most frequently used words):
the (54), angular (50), #schematics (33), and (31), for (31), update (26), your (19), #schematic (19), command (17), cli (16), that (15), generate (15), add (14), new (12), can (12), are (12), material (11), you (11), library (11), with (11), code (9), example (9), dependencies (9), workspace (8), libraries (8), commands (8), package (7), project (7), sub (7), using (7), generation (6), google (5), developer (5), version (5), changes (5), how (5), projects (5), json (4), cdk (4), updated (4), default (4), set (4), options (4), use (4), option (4), components (4), these (4), service (4), collection (4), generating (4), build (4), v22 (3), this (3), dependency (3), existing (3), create (3), breaking (3), such (3), see (3), specific (3), peer (3), rxjs (3), used (3), uses (3), configuration (3), own (3), what (3), release (3), available (3), defaults (3), licensed (2), under (2), style (2), community (2), youtube (2), updates (2), contains (2), from (2), any (2), more (2), about (2), not (2), there (2), change (2), them (2), core (2), name (2), help (2), component (2), table (2), one (2), instructions (2), but (2), specify (2), different (2), defined (2), also (2), scaffold (2), application (2), into (2), pwa (2), app (2), bootstrap (2), tells (2), install (2), look (2), installation (2), authoring (2), like (2), tell (2), modify (2), collections (2), custom (2), schema (2), particular (2), ecosystem (2), web (2), modifying (2), software (2), patterns (2), templates (2), template (2), tools (2), aot (2), errors (2), end (2), testing (2), apps (2), workers (2), animations (2), server (2), setup (2), docs (2), menu (2), super, powered, 2010, 2026, documentation, built, sha, 1a2e59b, 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, both, its, either, covers, migration, runs, suppose, want, introduces, potential, provide, enable, automatically, resolve, being, works, recommend, force, all, try, updating, first, inconsistencies, cannot, matched, simple, range, generates, error, does, anything, semver, helpful, pass, those, their, depend, packages, some, analyzed, supply, examines, suggests, nam, supplies, defines, following, render, pre, configured, datasource, sorting, pagination, mat, documented, place, artifact, additional, polyfills, initialization, turns, adding, manifest, worker, partner, third, party, support, adds, installs, sets, clarity, vmware, clr, theming, register, starter, created, model, typically, supplied, added, manager, download, invokes, script, implemented, details, adjust, when, configurations, scripts, artifacts, lets, developers, integrate, developing, schemas, parts, collected, describes, each, shown, output, associated, determines, overridden, providing, value, line, information, configuring, included, run, named, configure, shorthand, corresponding, long, form, part, apply, transforms, define, ones, things, fix, framework, back, top, arrow_upward_alt, page, powerful, tool, creating, maintaining, particularly, useful, customizing, suit, needs, organization, might, commonly, predefined, layouts, enforce, architectural, rules, conventions, making, consistent, interoperative, based, generator, supports, complex, logic, transforming, packaged, installed, npm, metadata, ahead, time, compilation, type, checking, builders, environments, migrating, system, deployment, serving, development, building, local, overview, arrow_back, player, pay, maps, fire, tailwind, pipeline, pwas, legacy, ngmodules, extended, v21, events, keeping, date, performance, unhandled, accessibility, security, guide, best, practices, language, devtools, webmcp, design, tutor, mcp, agent, skills, llm, prompts, ide, get, started, drag, drop, internationalization, aria, side, hybrid, rendering, http, client, forms, routing, injection, directives, signals, depth, guides, start, coding, essentials, introduction, more_horiz, reference, playground, tutorials, close, skip, main, content,
Text of the page (random words):
generating code using schematics 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 generating code using schematics a schematic is a template based code generator that supports complex logic it is a set of instructions for transforming a software project by generating or modifying code schematics are packaged into collections and installed with npm the schematic collection can be a powerful tool for creating modifying and maintaining any software project but is particularly useful for customizing angular projects to suit the particular needs of your own organization you might use schematics for example to generate commonly used ui patterns or specific components using predefined templates or layouts use schematics to enforce architectural rules and conventions making your projects consistent and interoperative on this page arrow_upward_alt back to the top schematics for the angular cli schematics are part of the angular ecosystem the angular cli uses schematics to apply transforms to a web app project you can modify these schematics and define new ones to do things like update your code to fix breaking changes in a dependency for example or to add a new configuration option or framework to an existing project schematics that are included in the schematics angular collection are run by default by the commands ng generate and ng add the package contains named schematics that configure the options that are available to the cli for ng generate sub commands such as ng generate component and ng generate service the sub commands for ng generate are shorthand for the corresponding schematic to specify and generate a particular schematic or a collection of schematics using the long form ng generate my schematic collection my schematic name configuring cli schematics a json schema associated with a schematic tells the angular cli what options are available to commands and sub commands and determines the defaults these defaults can be overridden by providing a different value for an option on the command line see workspace configuration for information about how to change the generation option defaults for your workspace the json schemas for the default schematics used by the cli to generate projects and parts of projects are collected in the package schematics angular the schema describes the options available to the cli for each of the ng generate sub commands as shown in the help output developing schematics for libraries as a library developer you can create your own collections of custom schematics to integrate your library with the angular cli an add schematic lets developers install your library in an angular workspace using ng add generation schematics can tell the ng generate sub commands how to modify projects add configurations and scripts and scaffold artifacts that are defined in your library an update schematic can tell the ng update command how to update your library s dependencies and adjust for breaking changes when you release a new version for more details of what these look like and how to create them see authoring schematics schematics for libraries add schematics an add schematic is typically supplied with a library so that the library can be added to an existing project with ng add the add command uses your package manager to download new dependencies and invokes an installation script that is implemented as a schematic for example the angular material schematic tells the add command to install and set up angular material and theming and register new starter components that can be created with ng generate look at this one as an example and model for your own add schematic partner and third party libraries also support the angular cli with add schematics for example ng bootstrap schematics adds ng bootstrap to an app and clr angular installs and sets up clarity from vmware an add schematic can also update a project with configuration changes add additional dependencies such as polyfills or scaffold package specific initialization code for example the angular pwa schematic turns your application into a pwa by adding an application manifest and service worker generation schematics generation schematics are instructions for the ng generate command the documented sub commands use the default angular generation schematics but you can specify a different schematic in place of a sub command to generate an artifact defined in your library angular material for example supplies generation schematics for the ui components that it defines the following command uses one of these schematics to render an angular material mat table that is pre configured with a datasource for sorting and pagination ng generate angular material table component nam e update schematics the ng update command can be used to update your workspace s library dependencies if you supply no options or use the help option the command examines your workspace and suggests libraries to update ng update we analyzed your package json there are some packages to update name version command to update angular cdk 7 2 2 7 3 1 ng update angular cdk angular cli 7 2 3 7 3 0 ng update angular cli angular core 7 2 2 7 2 3 ng update angular core angular material 7 2 2 7 3 1 ng update angular material rxjs 6 3 3 6 4 0 ng update rxjs if you pass the command a set of libraries to update it updates those libraries their peer dependencies and the peer dependencies that depend on them helpful if there are inconsistencies for example if peer dependencies cannot be matched by a simple semver range the command generates an error and does not change anything in the workspace we recommend that you do not force an update of all dependencies by default try updating specific dependencies first for more about how the ng update command works see update command if you create a new version of your library that introduces potential breaking changes you can provide an update schematic to enable the ng update command to automatically resolve any such changes in the project being updated for example suppose you want to update the angular material library ng update angular material this command updates both angular material and its dependency angular cdk in your workspace s package json if either package contains an update schematic that covers migration from the existing version to a new version the command runs that schematic on your workspace 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 1a2e59b
|