From a5a6a592c125f0dd3d262aa3132f61f6b076f9c6 Mon Sep 17 00:00:00 2001 From: "Florent Dardenne - dafl@odoo" <109217759+fdardenne@users.noreply.github.com> Date: Thu, 8 Sep 2022 11:52:24 +0200 Subject: [PATCH] [FIX] tutorial_todoapp: fix the final code mount issue In app.js, `mount(Root, document.body, { dev: true, env });` crash because `body` is not available yet. Therefore, moving the script into the body fix the issue. --- doc/learning/tutorial_todoapp.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/learning/tutorial_todoapp.md b/doc/learning/tutorial_todoapp.md index 1981bd40..81b12ead 100644 --- a/doc/learning/tutorial_todoapp.md +++ b/doc/learning/tutorial_todoapp.md @@ -770,10 +770,11 @@ For reference, here is the final code: