mirror of
https://github.com/vector-im/element-web.git
synced 2024-09-09 22:55:12 +00:00
Add npm link to the README
This commit is contained in:
parent
3a68748320
commit
275286801b
1 changed files with 6 additions and 7 deletions
13
README.md
13
README.md
|
@ -18,14 +18,13 @@ Matrix client.
|
||||||
Using the example app for development
|
Using the example app for development
|
||||||
=====================================
|
=====================================
|
||||||
|
|
||||||
The above commands will let you start working on the app, and any changes you
|
To work on the CSS and Javascript and have the bundle files update as you
|
||||||
make to the javascript source files will cause the javascript to be rebuilt
|
change the source files, you'll need to do two extra things:
|
||||||
automatically, but the same will not apply for the CSS.
|
|
||||||
|
|
||||||
To have the CSS bundle also rebuild as you change it:
|
1. Link the react sdk package into the example:
|
||||||
|
`cd matrix-react-sdk/example; npm link ..`
|
||||||
1. `cd matrix-react-sdk`
|
2. Start a watcher for the CSS files:
|
||||||
2. `npm run start:css`
|
`cd matrix-react-sdk; npm run start:css`
|
||||||
|
|
||||||
Note that you may need to restart the CSS builder if you add a new file. Note
|
Note that you may need to restart the CSS builder if you add a new file. Note
|
||||||
that `npm start` builds debug versions of the the javascript and CSS, which are
|
that `npm start` builds debug versions of the the javascript and CSS, which are
|
||||||
|
|
Loading…
Reference in a new issue