mirror of
https://github.com/LemmyNet/lemmy-docs.git
synced 2024-11-24 05:11:09 +00:00
Update 02-local-development.md (#232)
* Update 02-local-development.md
When pull request #1517 was merged to lemmy-ui, which I have a link to [here](d0dff77377
), the dev command to run the local frontend was changed from `yarn start` to `yarn build:dev --watch`. This updates the documents to reflect that.
* Update 02-local-development.md
This is a better shorthand for the command, it does the same thing but is shorter.
This commit is contained in:
parent
f436982690
commit
892abc1ef5
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ After making changes, you need to format the code with `cargo +nightly fmt --all
|
||||||
|
|
||||||
### Frontend development
|
### Frontend development
|
||||||
|
|
||||||
Install dependencies by running `yarn`. Then run `yarn start` to launch lemmy-ui locally. It automatically connects to the Lemmy backend on `localhost:8536`. Open [localhost:1234](http://localhost:1234) in your browser. The project is rebuilt automatically when you change any files.
|
Install dependencies by running `yarn`. Then run `yarn dev` to launch lemmy-ui locally. It automatically connects to the Lemmy backend on `localhost:8536`. Open [localhost:1234](http://localhost:1234) in your browser. The project is rebuilt automatically when you change any files.
|
||||||
|
|
||||||
Note that this setup doesn't support image uploads. If you want to test those, you need to use the
|
Note that this setup doesn't support image uploads. If you want to test those, you need to use the
|
||||||
[Docker development](03-docker-development.md).
|
[Docker development](03-docker-development.md).
|
||||||
|
|
Loading…
Reference in a new issue