`nuxt module add` -> select the `nuxt.config.ts` to install when working with layers
维护者通常 1 天内回复
还没有人认领这个 Issue。
- #380 来自 @DamianGlowala —— 已关闭,未合并
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- nuxt, typescript
- 领域
- cli
调研方向
入口点是 nuxi module add tailwind;首先跟踪在存在 Nuxt Layers 时它如何选择根目录的 nuxt.config.ts。比较报告中的 Nuxt Devtools 路径和 layer 布局,然后确定如何选择可配置的目标或通过提示选择的目标。完成的标准是模块安装可以针对所选 layer 的配置,而不是始终修改根文件。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- TypeScript
- 星标
- 401
- 派生
- 123
- 平均合并
- 1 天 1 小时
- 30 天内合并 PR
- 71
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nuxt/cli 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 40/100
维护者通常 1 天内回复
-
难度 3/5 半天 新手友好度 45/100
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
维护者通常 1 天内回复
-
Support pause HMR可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 4/5 3-5 天 新手友好度 35/100
维护者通常 1 天内回复
-
discussion
难度 3/5 1-2 天 新手友好度 35/100
nuxt/cli#1166 · 7 条评论 · 2 个 reaction ·
维护者通常 1 天内回复
相似的 Issue
-
documentation good first issue
难度 2/5 半天 新手友好度 72/100
sujithputta02/Esapay#13 ·
-
Share dialog: the address book's contact count reads "1 contacts" (no singular form in any language)可能已有人在做 @chibenwa 今天认领。 未关闭ai-driven-qa bug claude Cosmetic
难度 2/5 1-3 小时 新手友好度 72/100
linagora/twake-contacts-frontend#271 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
Koenkk/zigbee2mqtt#33402 ·
维护者通常 1 天内回复
-
dx P2 platform Stellar Wave Wave 10
难度 2/5 1-3 小时 新手友好度 72/100
winsznx/routedock#579 · 1 条评论 ·
维护者通常 1 天内回复
-
area:ui effort:S enhancement priority:P2
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复