Skip to content

How to install connectkit package locally for development #389

Answered by lochie
aschenkel asked this question in Q&A
Discussion options

You must be logged in to vote

thanks for wanting to contribute @aschenkel!

our readme shows how to set up the local examples:
https://github.com/family/connectkit?tab=readme-ov-file#running-examples-locally

though you may need to run yarn build before yarn dev:connectkit will work
we have a testbench with a lot of functionality you can use by running yarn dev:testbench along with yarn dev:connectkit

if you want to test on your own app running in a different project, you can target a local package via file: in your package.json after you've run yarn build command in the connectkit project.
example: "connectkit": "file:../connectkit/packages/connectkit"

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@aschenkel
Comment options

Answer selected by lochie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants