LoginSignup
1
0

More than 1 year has passed since last update.

chart.jsを使用してグラフを作成するにあたりハマった話

Posted at
"bootstrap": "^4.6.0",
"bootstrap-vue": "^2.21.2",
"chart.js": "2.8",
"core-js": "^3.15.1",
"nuxt": "^2.15.7",
"vue-chartjs": "^3.4.2"

nuxt@2で円グラフ、を表示させようとして
表示されずハマった話です。

npmでインストールしたコマンド
npm install chart.js vue-chartjs --save
chart@3が最新バージョンで相性が悪くだめだったため
アンスト
npm rm chart.js vue-chartjs
適応されるダウンバージョンをインストール
npm install chart.js@2.8 vue-chartjs@3.4.2 --save

>> 救いの神
https://qiita.com/pazuzu/items/336fc1b45f7d22ac93e3

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