angular 18 project structure

 package.json

bundle lot of packages

dependencies:angular application[build part]

dev dependencies:-locally environment run

[build not a part]


angular.json:--project configuration

configuration file

architecture settting


execute file first:-main.ts


style.css:

global style


.gitignore:--which u don't want to push


tsconfig.ts:--typescript related configuration


index.html:--approot

main.ts:--appcomponent:[default component]


appconfig.ts:--

now days we have standalone component

few things we can include:--

like http services client


app.route.ts:--

route setting


................................................................

component:--

ng g c componentname

component.ts file is enough for component

.ts:--

@component:--decorator:--

selector:--unique identifier of that component

standalone:--component

app.module.ts configure

appcomonent.ts:--

import[] that component

...........................




Comments

Popular posts from this blog

interview questions js[ Anurag Singh ProCodrr]

reactnative_creation