Yeah, everything with a UI I’m doing uses Svelte.

check out the ndk-svelte-components package. I’m extracting all the custom components I’ve written for my apps there so it can be easily packaged into new apps.

Reply to this note

Please Login to reply.

Discussion

i was tryin, but i keep having this trouble at the moment of add the dependency:

```

npm add @nostr-dev-kit/ndk-svelte-components

npm ERR! code ERESOLVE

npm ERR! ERESOLVE unable to resolve dependency tree

npm ERR!

npm ERR! While resolving: linktr-nostr@0.0.1

npm ERR! Found: svelte@4.0.5

npm ERR! node_modules/svelte

npm ERR! dev svelte@"^4.0.0" from the root project

npm ERR!

npm ERR! Could not resolve dependency:

npm ERR! peer svelte@"^3.54.0" from @nostr-dev-kit/ndk-svelte-components@0.3.2

npm ERR! node_modules/@nostr-dev-kit/ndk-svelte-components

npm ERR! @nostr-dev-kit/ndk-svelte-components@"*" from the root project

npm ERR!

npm ERR! Fix the upstream dependency conflict, or retry

npm ERR! this command with --force, or --legacy-peer-deps

npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

```

I would love to try, any suggestion?