Open Tofandel opened 5 months ago
It would be nice if packages/capsules could register into twill:build, otherwise they can't really provide custom components and custom form fields
In my project I'm working around that by manually adding the vendor's package as a dependency
"dependencies": { "twill-components": "file:./vendor/tofandel/twill-package/resources" }
And then adding a js file in resources/twill/components
resources/twill/components
import { TusUpload } from 'twill-components'; export default TusUpload;
But for distributing packages this is not a viable solution and needs an automation
Summary
It would be nice if packages/capsules could register into twill:build, otherwise they can't really provide custom components and custom form fields
In my project I'm working around that by manually adding the vendor's package as a dependency
And then adding a js file in
resources/twill/components
But for distributing packages this is not a viable solution and needs an automation