`nuxt module add` -> select the `nuxt.config.ts` to install when working with layers
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- nuxt, typescript
- 領域
- cli
調査の方向性
エントリーポイントは nuxi module add tailwind です。まず、Nuxt Layers が存在する場合に、どのようにルートの nuxt.config.ts を選択しているかを追跡します。レポート内の Nuxt Devtools のパスとレイヤー構成を比較し、そのうえで設定可能なターゲット、またはプロンプトで指定するターゲットをどのように選択するかを定義します。完了の条件は、モジュールのインストールで常にルートファイルを変更するのではなく、選択したレイヤーの設定を対象にできることです。
索引モデルが 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
- スター
- 399
- フォーク
- 119
- 平均マージ
- 20時間 59分
- マージ済み PR(30日)
- 65
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nuxt/cli のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
Support pause HMR オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
discussion
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
enhancement good first issue
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
似ている issue
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
Crush オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
catppuccin/catppuccin#3125 ·
-
Add a SECURITY.md オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
ElementsProject/cln-application#167 · コメント 1 件 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Quantco/pnpm-licenses#17 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100