Document or get rid of import { cn } from "$lib/utils/styles.js";
#1239
multivac61
started this conversation in
Feature Requests / Ideas
Replies: 1 comment
-
Hey @multivac61, we've added an "Open in StackBlitz" link to all of the components which includes any files that are used. You could basically replace that import cn from 'clsx' I'm not going to add it to the library as it would introduce an additional dependency that may not be needed if you aren't using tailwind, but the StackBlitz should help peeps moving forward 😁 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey Hunter! Great library.
Getting started it is very disorienting reading the examples and not being able to copy/paste them verbatim into a fresh project, e.g,. NavigationMenu
Has two external dependencies that are not mentioned on the page, e.g.,
phosphor-svelte
and"$lib/utils/styles.js"
which looks like it is coming from the docs source code and not the library itself. Please consider putting thecn
function inside the library, or document how a noob like myself can get hold of the file and use it in my project.Beta Was this translation helpful? Give feedback.
All reactions