зеркало из
1
0
Форкнуть 0

docs: add --open flag to readme (#399)

This commit is contained in:
Wassim Chegham 2022-03-08 14:26:51 +01:00 коммит произвёл GitHub
Родитель 5ed5b71b0c
Коммит feac33654d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -30,7 +30,7 @@ Using `npm` or `yarn`:
```
- Start the emulator:
```bash
swa start
swa start ./
```
- Access your SWA app from `http://localhost:4280`
@ -181,6 +181,7 @@ If you need to override the default values, provide the following options:
| `--func-args` | Additional arguments to pass to `func start` | | `--func-args="--javascript"` |
| `--config` | Path to swa-cli.config.json file to use. | `./swa-cli.config.json` | `--config ./config/swa-cli.config.json` |
| `--print-config` | Print all resolved options. Useful for debugging. | | `--print-config` or `--print-config=true` |
| `--open` | Automatically open the SWA dev server in the default browser. | `false` | `--open` or `--open=true` |
## swa-cli.config.json file