mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
Add command to install olm as well
This commit is contained in:
parent
13d198d7bc
commit
a35f6af7db
@ -15,6 +15,7 @@ yarn create vite
|
|||||||
cd <your-project-name>
|
cd <your-project-name>
|
||||||
yarn
|
yarn
|
||||||
yarn add hydrogen-view-sdk
|
yarn add hydrogen-view-sdk
|
||||||
|
yarn add https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.14.tgz
|
||||||
```
|
```
|
||||||
|
|
||||||
You should see a `index.html` in the project root directory, containing an element with `id="app"`. Add the attribute `class="hydrogen"` to this element, as the CSS we'll include from the SDK assumes for now that the app is rendered in an element with this classname.
|
You should see a `index.html` in the project root directory, containing an element with `id="app"`. Add the attribute `class="hydrogen"` to this element, as the CSS we'll include from the SDK assumes for now that the app is rendered in an element with this classname.
|
||||||
|
Loading…
Reference in New Issue
Block a user