`nuxt module add` -> select the `nuxt.config.ts` to install when working with layers
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- nuxt, typescript
- Lĩnh vực
- cli
Hướng nghiên cứu
Điểm vào là nuxi module add tailwind; trước tiên hãy lần theo cách nó chọn nuxt.config.ts ở root khi có Nuxt Layers. So sánh đường dẫn của Nuxt Devtools và bố cục layer trong báo cáo, sau đó xác định cách chọn một target có thể cấu hình hoặc được chọn qua prompt. Được xem là hoàn tất khi việc cài đặt module có thể nhắm đến config của layer đã chọn thay vì luôn sửa file root.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the feature
When working with Nuxt Layers and you add a Nuxt module using the Nuxt Devtools or using nuxi nuxi module add tailwind it adds the module to the root nuxt.config.ts file and this is not configurable.
My nuxt.config.ts file is only for extending layers and I do not want Nuxt to add modules here. It would be very nice if this was configurable (or if asked me which nuxt.config.ts to use) so that I can specify which nuxt.config.ts file I actually want it to use. Maybe before adding the module it could ask me which one I want it to add the module to.
common
└─ components
└─ composables
└─ nuxt.config.ts <------ I actually want nuxi to add the module here
users
└─ components
└─ composables
└─ nuxt.config.ts
nuxt.config.ts <--------- it adds it here (root)
Additional information
- Would you be willing to help implement this feature?
- Could this feature be implemented as a module?
Final checks
- Read the contribution guide.
- Check existing discussions and issues.
- Ngôn ngữ chính
- TypeScript
- Star
- 399
- Fork
- 119
- Merge trung bình
- 20 giờ 59 phút
- Pull request đã merge (30 ngày)
- 65
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của nuxt/cli
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 38/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
-
Support pause HMR Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
discussion
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
enhancement good first issue
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
mksglu/context-mode#1200 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
jaegertracing/jaeger-ui#4506 ·
-
area:desktop area:ui bug platform:macos
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
anthropics/claude-code#96687 ·
-
good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
AOSSIE-Org/DebateAI#582 · 2 bình luận ·