This project was generated with Angular CLI version 18.1.0.
You can organize your Angular project according to these categories. A directory structure might look like this:
src/
app/
atoms/
button/
button.component.ts
button.component.html
button.component.css
molecules/
form-field/
form-field.component.ts
form-field.component.html
form-field.component.css
organisms/
header/
header.component.ts
header.component.html
header.component.css
templates/
main-layout/
main-layout.component.ts
main-layout.component.html
main-layout.component.css
pages/
home-page/
home-page.component.ts
home-page.component.html
home-page.component.css
- Description: Contains the smallest, fundamental components, often representing basic HTML elements.
- Examples: Components like buttons, inputs, icons, etc.
- Description: Groups of atoms working together to form more complex components.
- Examples: Components that combine atoms into larger functional units (e.g., form-field).
- Description: Larger, more complex components that may include molecules, atoms, and other organisms.
- Examples: Components representing distinct sections of the UI like headers, footers, etc.
- Description: Combines organisms to create entire page layouts.
- Examples: Components defining the overall structure of pages, including headers, footers, and main content areas.
- Description: Specific instances of templates populated with real content.
- Examples: Components representing actual pages users interact with.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The application will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.