Mudanças entre as edições de "Angular"
Ir para navegação
Ir para pesquisar
| Linha 9: | Linha 9: | ||
===Nova Intefae=== | ===Nova Intefae=== | ||
ng g interface /modules/interface/vocabulary | ng g interface /modules/interface/vocabulary | ||
| + | |||
| + | ==Services== | ||
| + | ng g s data/isbn | ||
| + | * Incluir no app.component (Http) | ||
==Bootstrap Angular== | ==Bootstrap Angular== | ||
| Linha 15: | Linha 19: | ||
===Variáveis=== | ===Variáveis=== | ||
public title:string = "Brapci" | public title:string = "Brapci" | ||
| + | |||
==Rodando servidor== | ==Rodando servidor== | ||
ng s | ng s | ||
==Produção== | ==Produção== | ||
===Gerando Build=== | ===Gerando Build=== | ||
Edição das 19h08min de 14 de junho de 2023
Índice
NG Client
Criando projeto
ng new [project name]
Componentes
Novo componente
ng g c [/modules/brapci/headers/head]
Nova Intefae
ng g interface /modules/interface/vocabulary
Services
ng g s data/isbn
- Incluir no app.component (Http)
Bootstrap Angular
ng add @ng-bootstrap/ng-bootstrap
Variáveis
public title:string = "Brapci"
Rodando servidor
ng s