- ng
- g : Tự động tạo
- c : component
- m : module
- s : service
Các option
--save : lưu vào package.json
--flat : Không tạo thư mục
--spec false: không tạo file spect.ts
-it : Không tạo file html
-is: Không tạo file c...
-
This is Slide 1 Title
This is slide 1 description. Go to Edit HTML and replace these sentences with your own words. This is a Blogger template by Lasantha - PremiumBloggerTemplates.com...
-
This is Slide 2 Title
This is slide 2 description. Go to Edit HTML and replace these sentences with your own words. This is a Blogger template by Lasantha - PremiumBloggerTemplates.com...
-
This is Slide 3 Title
This is slide 3 description. Go to Edit HTML and replace these sentences with your own words. This is a Blogger template by Lasantha - PremiumBloggerTemplates.com...
Thứ Ba, 4 tháng 2, 2020
Các Lỗi khi build API Node JS
By Hoàng Duy at 09:35
No comments
1. Lỗi không thể connect đến MSSQLSERVER:
onnectionError: Failed to connect to localhost\MSSQLSERVER in 15000ms
at ConnectionError (D:\APINode\node_modules\tedious\lib\errors.js:13:12)
at Connection.connectTimeout (D:\APINode\node_modules\tedious\lib\connection.js:1190:54)
at Timeout._onTimeout (D:\APINode\node_modules\tedious\lib\connection.js:1152:12)
=>...
Thứ Hai, 3 tháng 2, 2020
Cách xử lý khi bị đụng css, load css từ cho 1 compnent
By Hoàng Duy at 23:20
No comments
- Khi bạn muôn apply một external css cho riêng 1 component , (load từ style.css sẽ bị đụng css), thì làm như sau:
styleUrls: ['./index.component.css','../../assets/admin/dist/css/adminlte.min.css'],
encapsulation: ViewEncapsulation.Non...