Skip to content

Commit

Permalink
Deployment moved to the end of the README
Browse files Browse the repository at this point in the history
  • Loading branch information
Spomky committed Jan 23, 2024
1 parent 942604a commit 4e3d261
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,6 @@ It will automatically add the manifest your HTML pages and any other useful meta
{{ pwa() }}
```

### Manifest Generation

On `dev` or `test` environment, the manifest and the service worker (if any) will be generated for you.
On `prod` environment, these files are compiled during the deployment with Asset Mapper.

```bash
symfony console asset-map:compile
```

By default, the manifest will be generated in the `public` directory with the name `/site.webmanifest`.
You can change the output file name and the output folder with the following configuration option:

Expand Down Expand Up @@ -296,6 +287,15 @@ pwa:
offline_fallback: 'app_offline_page'
```

### Deployment

On `dev` or `test` environment, the manifest and the service worker (if any) will be generated for you.
On `prod` environment, these files are compiled during the deployment with Asset Mapper.

```bash
symfony console asset-map:compile
```

# Support

I bring solutions to your problems and answer your questions.
Expand Down

0 comments on commit 4e3d261

Please sign in to comment.