add workspace to readme example

This commit is contained in:
Karol Wypchło 2020-10-20 14:46:34 +02:00 committed by GitHub
parent 3ea033ce2a
commit 4e87d7879d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -2,14 +2,14 @@
## Web application ## Web application
Use `yarn start` to start the development server. Use `yarn workspace webapp start` to start the development server.
Use `yarn build` to compile the application to `/public` directory. Use `yarn workspace webapp build` to compile the application to `/public` directory.
You can use the below build parameters to customize your web application. You can use the below build parameters to customize your web application.
- development example `GATSBY_API_URL=https://siasky.dev yarn start` - development example `GATSBY_API_URL=https://siasky.dev yarn workspace webapp start`
- production example `GATSBY_API_URL=https://siasky.net yarn build` - production example `GATSBY_API_URL=https://siasky.net yarn workspace webapp build`
List of available parameters: List of available parameters: