Hi,
Actually I have this error trying to use the line chart component:
Module not found: Can't resolve 'chart/src/chart.js' in 'C:\Users\Devsu\Documents\Projects\Tests\test-sm\node_modules\primereact\components\chart'
Anyone can help me to fix it, please
What is the correct way to use a chart component
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Please try;
Code: Select all
npm install chart.js --save
-
- Information
-
Who is online
Users browsing this forum: No registered users and 13 guests