Read-only archive. Login and posting are unavailable.
Reply
 
Thread Tools
  #1  
Old 13-01-2020, 19:25
ButtLover's Avatar
Senior Member
Join Date: 03-2017
Posts: 170
Hỏi về Angular Extension trên Visual Studio 2017

Có bác nào code Angular trên Visual Studio 2017 thì cho em hỏi có Extension nào tự động Generate Component ra không ạ? Mỗi lần tạo 1 component mới lại phải lọ mọ tạo mấy file rồi viết mấy cái linh tinh lại từ đầu oải quá.
__________________
[QUOTE][B]Giả cầy phải có mẻ ăn mới ngon.[/B][/QUOTE]
Reply With Quote
  #2  
Old 13-01-2020, 22:50
Senior Member
Join Date: 04-2010
Posts: 302
Re: Hỏi về Angular Extension trên Visual Studio 2017

Mình thì dùng Visual Studio Code nên chỉ cài Angular CLI rồi chạy lệnh ng generate ở console để tạo component thôi. Trong Visual Studio thì mình không rõ.
__________________
La liếm chút. Giới thiệu anh em trang Sách Nói tự làm
[B]https://sachxua.org[/B]
Reply With Quote
  #3  
Old 14-01-2020, 06:11
Senior Member
Join Date: 03-2017
Posts: 266
Re: Hỏi về Angular Extension trên Visual Studio 2017

Quote:
Originally Posted by ButtLover View Post
Có bác nào code Angular trên Visual Studio 2017 thì cho em hỏi có Extension nào tự động Generate Component ra không ạ? Mỗi lần tạo 1 component mới lại phải lọ mọ tạo mấy file rồi viết mấy cái linh tinh lại từ đầu oải quá.
Code front end thì vscode mà táng thôi thím thớt. Lọ mọ VS làm gì cho nặng.
Ps: đúng như thím trên nói
__________________
[QUOTE=Samsung Support;126842389]Đt dân xài, dân làm hư thì dân chịu chứ đổ tại ai :look_down:[/QUOTE]
Reply With Quote
  #4  
Old 14-01-2020, 11:54
dreamnight's Avatar
Senior Member
Join Date: 06-2008
Posts: 639
Re: Hỏi về Angular Extension trên Visual Studio 2017

Quote:
Originally Posted by ButtLover View Post
Có bác nào code Angular trên Visual Studio 2017 thì cho em hỏi có Extension nào tự động Generate Component ra không ạ? Mỗi lần tạo 1 component mới lại phải lọ mọ tạo mấy file rồi viết mấy cái linh tinh lại từ đầu oải quá.
Bạn mở tab console hay powershell của VS nhé, rồi dùng angular cli để generate.
Reply With Quote
  #5  
Old 26-01-2020, 16:19
t_style_9x's Avatar
Member
Join Date: 06-2013
Posts: 95
Re: Hỏi về Angular Extension trên Visual Studio 2017

dùng angular cli nhé
google với từ khóa ng generate
__________________
ambitious
Reply With Quote
  #6  
Old 08-02-2020, 14:07
Senior Member
Join Date: 03-2012
Posts: 100
Re: Hỏi về Angular Extension trên Visual Studio 2017

Recommend dùng Webstorm cho tốt nhé bác (có phí). Còn ko thì xài free vscode như mấy bác trên nói
Reply With Quote
  #7  
Old 09-02-2020, 01:50
Member
Join Date: 05-2012
Posts: 41
Re: Hỏi về Angular Extension trên Visual Studio 2017

Nói về viết web thì không thằng IDE nào mạnh hơn webstorm, tốn ram, nặng nhưng nó hỗ trợ viết code ngon vcl, còn vụ tạo component thì bật terminal/command line lên, install angular-cli, rồi gõ lên ng g c componentName là được.
Reply With Quote
Reply

« Previous Thread | Next Thread »
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT +7. The time now is 07:54.