File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,24 @@ into the `vector` directory and run your own server.
2222
2323Development
2424===========
25- You can work on any of the source files within Vector with the setup above,
26- and your changes will cause an instant rebuild. If you also need to make
27- changes to the react sdk, you can:
25+
26+ For simple tweaks, you can work on any of the source files within Vector with the
27+ setup above, and your changes will cause an instant rebuild.
28+
29+ However, all serious development on Vector happens on the ` develop ` branch. This typically
30+ depends on the ` develop ` snapshot versions of ` matrix-react-sdk ` and ` matrix-js-sdk `
31+ too, which isn't expressed in Vector's ` package.json ` . To do this, check out
32+ the ` develop ` branches of these libraries and then use ` npm link ` to tell Vector
33+ about them:
2834
29351 . Link the react sdk package into the example:
3036 ` npm link path/to/your/react/sdk `
31372 . Start the development rebuilder in your react SDK directory:
3238 ` npm start `
3339
40+ Similarly, you may need to ` npm link path/to/your/js/sdk ` in your ` matrix-react-sdk `
41+ directory.
42+
3443If you add or remove any components from the Vector skin, you will need to rebuild
3544the skin's index by running, ` npm run reskindex ` .
3645
You can’t perform that action at this time.
0 commit comments