victorgarciaesgi / vue-chart-3

📊 A simple wrapper around Chart.js 3 for Vue 2 & 3
https://vue-chart-3.netlify.app/
MIT License
310 stars 112 forks source link

docs: add chart.js peer dependency #104

Closed aentwist closed 2 years ago

aentwist commented 2 years ago

Currently, the documentation does not detail that chart.js is a peer dependency.

aentwist commented 2 years ago

So I see this now,

import { Chart, DoughnutController, ArcElement, Tooltip } from 'chart.js';

It isn't at the top of the Installation section so it is a bit confusing. Feel free to close this.

victorgarciaesgi commented 2 years ago

Hi! What was the problem? You find that it's not clear that it uses Chart.js behind?

aentwist commented 2 years ago

Yeah I couldn't tell I needed to run npm install vue-chart-3 chart.js at first.. just got slightly confused