This project was generated with Angular CLI version 8.1.2.
Os comandos de exemplo abaixo realiza a instalação da versão mais recente de cada biblioteca.
Executar comando npm install jquery --save Este comando atualiza automaticamente o package.json
Atualizar o arquivo angular.json
"scripts": [
"./node_modules/jquery/dist/jquery.min.js",
"./node_modules/bootstrap/dist/js/bootstrap.min.js"
]
Executar comando npm install bootstrap --save Este comando atualiza automaticamente o package.json
Atualizar o arquivo angular.json
"styles": [
"./node_modules/bootstrap/dist/css/bootstrap.min.css",
"src/styles.css"
],
Executar comando npm install font-awesome --save Este comando atualiza automaticamente o package.json
Atualizar o arquivo angular.json
"styles": [
"./node_modules/bootstrap/dist/css/bootstrap.min.css",
"./node_modules/font-awesome/css/font-awesome.min.css",
"src/styles.css"
],
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app 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. Use the --prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.