Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

`nuxt module add` -> select the `nuxt.config.ts` to install when working with layers

オープン
#361 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
nuxt, typescript
領域
cli

調査の方向性

エントリーポイントは nuxi module add tailwind です。まず、Nuxt Layers が存在する場合に、どのようにルートの nuxt.config.ts を選択しているかを追跡します。レポート内の Nuxt Devtools のパスとレイヤー構成を比較し、そのうえで設定可能なターゲット、またはプロンプトで指定するターゲットをどのように選択するかを定義します。完了の条件は、モジュールのインストールで常にルートファイルを変更するのではなく、選択したレイヤーの設定を対象にできることです。

索引モデルが issue の本文から書いたものです。

説明

enhancement
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
主要言語
TypeScript
スター
399
フォーク
119
平均マージ
20時間 59分
マージ済み PR(30日)
65

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nuxt/cli のほかの issue

nuxt/cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。