-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Description
- Laravel Version: 8.48.1
- Nova Version: 3.22.0
Description:
Trying to use Vue ChartJs in a Nova tool .vue file and when compiling with npm run watch getting the following (snippet) error
ERROR in ./node_modules/chart.js/dist/chart.esm.js
Module parse failed: Unexpected token (6809:12)
You may need an appropriate loader to handle this file type.
Detailed steps to reproduce the issue on a fresh Nova installation:
- Create new Nova tool
- In the tool repo
npm install vue-chartjs chart.js --save - In the
Tool.vuefileimport { LineChart } from 'vue-chartjs'; npm run watch- Error
Metadata
Metadata
Assignees
Labels
No labels