Skip to content

daphdev/FrontendProject

Repository files navigation

Giới thiệu

Dự án Angular xây dựng một web bán hàng gia dụng Banner

(1) (2) (3)
Home Category Product
Cart Order User
Signin Signup Search

Cài đặt repo

Đã cài đặt NodeJS, npm, TypeScript và Angular CLI

NodeJS v14.17.0
npm v6.14.13
Angular CLI v12.0.3

Các bước cài đặt repo

  1. Dùng GitHub Desktop clone repo về máy
  2. Mở thư mục repo FrontendProject → Chạy cmd
  3. npm install
  4. npm start

FrontendProject

This project was generated with Angular CLI version 12.0.3.

Development server

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.

Code scaffolding

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.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

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.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.