Create links in the node_modules directory, to core aspects and to components in the workspace
$bit link [component-names...]
Copiedcopy

Arguments

ArgumentDescriptionRequired
component-names...names or IDs of the components to link

Options

OptionOption AliasDescriptionValue Type
--json-jreturn the output as JSONboolean
--verbose-verbose outputboolean
--rewire-rReplace relative paths with module paths in code (e.g. "../foo" => "@bit/foo")boolean
--target-link to an external directory (similar to npm-link) so other projects could use these componentsstring
--skip-fetching-objects-skip fetch missing objects from remotes before linkingboolean
--peers-link peer dependencies of the components tooboolean