Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>hl-nextjs-generatorNew to Visual Studio Code? Get it now.
hl-nextjs-generator

hl-nextjs-generator

hoanglamnguyentb

|
1 install
| (0) | Free
hl-nextjs-generator
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

hl-nextjs-generator

hl-nextjs-generator là một extension VSCode hỗ trợ tạo nhanh các thành phần trong ứng dụng Next.js như: View, Service, Type... từ file model TypeScript có cấu trúc chuẩn. Công cụ này giúp bạn tiết kiệm thời gian lặp lại khi xây dựng các module CRUD.

Tính năng

📄 Tạo nhanh giao diện View (createOrUpdate.tsx, detail.tsx, page.tsx, search.tsx).

⚙️ Sinh file Service tương tác với API.

📝 Sinh Type từ model.

🚀 Tạo toàn bộ cấu trúc module với một click.

🗑️ Xóa toàn bộ code đã tạo nếu cần.

Sử dụng

Mở file component .tsx bạn muốn export (chỉ áp dụng với dự án Next.js).

Nhấn chuột phải vào file đang mở trong VSCode và chọn một trong các tùy chọn sau:

Chọn một trong các tùy chọn:

📄 Tạo View

⚙️ Tạo Service

📝 Tạo Type

🚀 Tạo Tất Cả

🗑️ Xóa code


About Me

Nguyễn Hoàng Lam – Github

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft