File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- matrix-react-sdk
2- ================
1+ Vector/Web
2+ ==========
33
4- This is a react-based SDK for inserting a Matrix chat/voip client into a web page.
5- It provides reusable and customisable UI components backed by the matrix-js-sdk.
4+ Vector is a Matrix web client built using the Matrix React SDK (https://github.com/matrix-org/matrix-react-sdk ).
65
7- Getting started with the trivial example
8- ========================================
6+ Getting started
7+ ===============
98
1091 . Install or update ` node.js ` so that your ` npm ` is at least at version ` 2.0.0 `
11102 . Clone the repo: ` git clone https://github.com/matrix-org/matrix-react-sdk.git `
12113 . Switch to the SDK directory: ` cd matrix-react-sdk `
13124 . Install the prerequisites: ` npm install `
14- 5 . Switch to the example directory: ` cd examples/trivial `
13+ 5 . Switch to the example directory: ` cd examples/vector `
15146 . Install the example app prerequisites: ` npm install `
16157 . Build the example and start a server: ` npm start `
1716
1817Now open http://127.0.0.1:8080/ in your browser to see your newly built
19- Matrix client .
18+ Vector .
2019
21- Using the example app for development
22- =====================================
20+ Development
21+ ===========
2322
2423To work on the CSS and Javascript and have the bundle files update as you
2524change the source files, you'll need to do two extra things:
2625
27261 . Link the react sdk package into the example:
28- ` cd matrix-react-sdk/examples/trivial ; npm link ../../ `
27+ ` cd matrix-react-sdk/examples/vector ; npm link ../../ `
29282 . Start a watcher for the CSS files:
3029 ` cd matrix-react-sdk; npm run start:css `
3130
You can’t perform that action at this time.
0 commit comments