LoginSignup
5
8

More than 5 years have passed since last update.

現在使っているNuxt.jsのバージョンの調べ方メモ

Last updated at Posted at 2018-09-22

package.jsonでlatest記載しているとnuxt.jsのカレントバージョンが分からんなぁと思ったのでメモ

package.json
"dependencies": {
    "nuxt": "latest"
  },

色々な記事見てるとlatest表記推奨ってのもあるのでlatest表記で使ってたら気づいたら2系になってた模様。

nuxt -v

プロジェクトのルートディレクトリで以下のコマンドで調べられました。

$ ./node_modules/nuxt/bin/nuxt -v
2.0.0

ちなみ

v2になってこちらの内容でエラー起きたりしてました

Module build failed: TypeError: Cannot read property 'eslint' of undefined
Nuxt.jsプロジェクトをv2(nuxt-edge)にアップグレードした際にハマったところ

先人様に感謝

5
8
1

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
5
8