Html – JavaScript – how can i import frappe chart correctly without using link?
I want to import frappe by using the following code import { Chart } from "frappe-charts/dist/frappe-charts.min.esm"; I already downloaded frappe-charts package and put it into my project package. But it always shows: "Uncaught SyntaxError: Cannot use import statement outside a…