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 Request #3

Open
Protocol-X opened this issue May 29, 2022 · 3 comments
Open

Feature Request #3

Protocol-X opened this issue May 29, 2022 · 3 comments

Comments

@Protocol-X
Copy link

Hello,

This library looks perfect. I was looking for a library that basically works like the groovy Markup builder.

Is there any chance you would be willing to add export/import support so that it can be used like a normal package for Angular or other frameworks instead of requiring <Script> tags?

For example? import { BOB } from 'bob-xml/public'

I tried to import with no luck, and i tried to look at the code but did not see any reference to any exports or imports defined for BOB.

If it does exist and I am just overlooking it please let me know.

@stephan-nordnes-eriksen
Copy link
Owner

Hi!

Sorry for the slow response time on my end.

This should be possible. I would have to make sure it is done in the expected way. If possible, could you provide a boilerplate project with a setup showing how you wish the package could be imported (Eg. in the "best practice" way for your use case), so that I can investigate if it's doable the way you suggest?

@Protocol-X
Copy link
Author

I will try to get you something this week.

@stephan-nordnes-eriksen
Copy link
Owner

Hi @Protocol-X : just following up. Were you able to make something?

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

2 participants