The only way I could successfully import cqfill into a ".svelte" file was like this:
<script>
// Error: "Uncaught (in promise) TypeError: cqfill is not a function"
// import { cqfill } from "cqfill";
import { cqfill } from '../../node_modules/cqfill/export/cqfill';
cqfill();
</script>
Not sure if this is a problem with the module or something I'm doing.
The only way I could successfully import cqfill into a ".svelte" file was like this:
Not sure if this is a problem with the module or something I'm doing.