mirror of
https://github.com/element-hq/element-web
synced 2024-11-29 12:58:53 +03:00
spell out npm run build
This commit is contained in:
parent
01641543da
commit
92728ff4e6
1 changed files with 5 additions and 4 deletions
|
@ -36,9 +36,10 @@ about them:
|
||||||
2. `cd matrix-react-sdk`
|
2. `cd matrix-react-sdk`
|
||||||
3. `git checkout develop`
|
3. `git checkout develop`
|
||||||
4. `npm install`
|
4. `npm install`
|
||||||
5. `npm start` (to start the dev rebuilder)
|
5. `npm run build`
|
||||||
6. `cd ../vector-web`
|
6. `npm start` (to start the dev rebuilder)
|
||||||
7. Link the react sdk package into the example:
|
7. `cd ../vector-web`
|
||||||
|
8. Link the react sdk package into the example:
|
||||||
`npm link path/to/your/react/sdk`
|
`npm link path/to/your/react/sdk`
|
||||||
|
|
||||||
Similarly, you may need to `npm link path/to/your/js/sdk` in your `matrix-react-sdk`
|
Similarly, you may need to `npm link path/to/your/js/sdk` in your `matrix-react-sdk`
|
||||||
|
@ -53,6 +54,6 @@ about "Cannot resolve module 'source-map-loader'" due to shortcomings in webpack
|
||||||
Deployment
|
Deployment
|
||||||
==========
|
==========
|
||||||
|
|
||||||
Just run `npm build` and then mount the `vector` directory on your webserver to
|
Just run `npm run build` and then mount the `vector` directory on your webserver to
|
||||||
actually serve up the app, which is entirely static content.
|
actually serve up the app, which is entirely static content.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue