How do I build this from source? #971
-
I am using this package as a dependency of a project, and I want to fork it and use the source version rather than the npm version. I've tried just installing it locally with |
Beta Was this translation helpful? Give feedback.
Answered by
bcakmakoglu
Jun 2, 2023
Replies: 1 comment 4 replies
-
Is there a specific reason why you're attempting this? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also just go into the
vue-flow
directory and follow the development steps in the README fileBasically this
pnpm i
)pnpm build
)You're done, if you've linked the package as detailed in the previous post, you should be good to go :)
If you're looking to be able to develop the vue-flow packages while also developing your project you might want to run
pnpm dev
instead, which will basically runpnpm build
but with a watcher that rebuilds the js files (types are not rebuilt with a watcher, you'll have to rebuild those yourself when you made changes)