0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【Nuxt.js】tailwind.config.jsを書き換えても反映されない場合の対処法

Posted at

何回かあったのでメモっておく

configの書き方が間違っていないか確認する

  • extendの中に書く
  • ,(カンマ)が抜けていないか
  • fontSizeなどの名前の部分は公式で調べて記載する
theme: {
    extend: {
      fontSize: {
        '10xl': '9rem',
      },
      transitionDuration: {
        '1100': '1100ms',
      }
    },
  },

npm installする

これやらなずにnpm run devをやり直すだけでいいかも。

npm run devする

0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?