From 4e3d2618307d279bf1f99bb9fa5ccb4b59d9b81e Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Tue, 23 Jan 2024 16:12:31 +0100 Subject: [PATCH] Deployment moved to the end of the README --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 08dcde9..e12a6ff 100644 --- a/README.md +++ b/README.md @@ -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: @@ -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.