Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Allow packages to register frontend components and package.json for twill:build #2538

Open
Tofandel opened this issue Mar 12, 2024 · 0 comments

Comments

@Tofandel
Copy link
Contributor

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

  "dependencies": {
    "twill-components": "file:./vendor/tofandel/twill-package/resources"
  }

And then adding a js file in 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant