-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Export for usage outside of svelte #3
Comments
published v0.1.0 for this. |
awesome, thanks! |
@tanhauhau thanks for that I just tried it out and it unfortunately did not work. I think it's because you published it only as
similar to what I did in my fork: Thanks a lot. |
Sorry for getting back this later, i've published a umd version in You can use it in the browser directly like: <html>
<script src="https://unpkg.com/svelte-json-tree@1.0.0/dist/standalone/umd/index.js"></script>
<script>
new SvelteJsonTree({
target: document.body,
props: { value: [20, 21] },
});
</script>
</html> |
Hey @tanhauhau
thanks for this! Really neat, would you consider adding the ability to export this component to be used outside of svelte?
something like this:
Would love to use it in my project.
I have already forked it and would have one way of implementing it ready and could provide a PR.
master...milafrerichs:feat/add-package-export
Have a great day and a great Christmas holiday (if you celebrate that :) )
The text was updated successfully, but these errors were encountered: