-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Suggestion: use "alias" so page source / example match usage #177
Comments
Oh, maybe a duplicate of #108 |
Thanks @CaptainCodeman. There has been some exploration in a PR and need to see if there is any performance regressions (that outweigh the benefits). Likely there will not be though. |
Sorry for the noise, I should have looked first. I've never noticed any perf issue with that approach (although my libs tend to be smaller). AFAIK there are none and it's just a mapping done at the vite level. |
As soon as I wrap up the Brush component I'm going to use |
and no worries about the noise, always nice to gauge interest to help set priorities. |
Yeah, as someone new to the lib it was one thing that tripped me up a little. That and the tailwindcss custom colors that appear to depend on the ux lib. |
@CaptainCodeman Yeah, improving docs when not using Svelte UX (whether it's Skeleton, shadcn-svelte, standalone, etc) needs to be improved. Gathering notes in #160 to move to the docs once I get more fleshed out. Also hoping to gather a lot of examples of various framework combinations to allow others to use as reference. |
The getting-started page explain how examples / page source will need different imports:
Using the alias configuration option would allow the internal code to import from 'layerchart' which might make things clearer / simpler.
BTW: excellent lib, just exploring it ...
The text was updated successfully, but these errors were encountered: