+
Appli angular embarquée
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/assets/js/build-frontend-submodule/main.js b/assets/js/build-frontend-submodule/main.js
new file mode 100644
index 00000000..dd8320a7
--- /dev/null
+++ b/assets/js/build-frontend-submodule/main.js
@@ -0,0 +1 @@
+console.log('this file is a placeholder, if you see this, it means you did not update the frontend submodule');
\ No newline at end of file
diff --git a/caisse-bliss-frontend b/caisse-bliss-frontend
new file mode 160000
index 00000000..474d8db5
--- /dev/null
+++ b/caisse-bliss-frontend
@@ -0,0 +1 @@
+Subproject commit 474d8db5d74ec1283bf9b9e1a0fe03221538d44c
diff --git a/compile-frontend.sh b/compile-frontend.sh
new file mode 100755
index 00000000..938993a6
--- /dev/null
+++ b/compile-frontend.sh
@@ -0,0 +1,11 @@
+#/bin/bash
+echo "###############################";
+echo "start update of frontend submodule assets";
+echo "###############################";
+git submodule update;
+cd caisse-bliss-frontend
+ng build
+cp caisse-bliss-frontend/dist/appli/* /assets/js/build-frontend-submodule
+echo "###########";
+echo "update done";
+echo "###########";
diff --git a/update.sh b/update.sh
index fe267187..96c84703 100755
--- a/update.sh
+++ b/update.sh
@@ -8,6 +8,8 @@ composer self-update
composer update
yarn --version
+bash compile-frontend.sh
+
yarn run encore production
php bin/console doctrine:schema:update --dump-sql
php bin/console doctrine:schema:update --force