LoginSignup
1
0

More than 3 years have passed since last update.

Nuxt.js で app.html を作る際の注意

Posted at

ちょっと躓いたので備忘録として残します。

app.htmlsrcDir の指定場所に配置する

公式サイトより

テンプレートを変更するために、プロジェクトのルートフォルダに app.html ファイルを作成します。

と書いてあったが、その通りにルートディレクトリに app.html を置いても全く変化なし。

nuxt.config.jssrcDir を指定していた場合、その指定場所に app.html を置く必要があったのです。

ということで、 srcDir を指定していた場所に app.html を置いたら無事反映されました。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0