[DOC] update the documentation to new config and env

part of #306
This commit is contained in:
Géry Debongnie
2019-10-30 10:22:59 +01:00
parent 5ba73cc09d
commit 0addca63a0
11 changed files with 148 additions and 95 deletions
+3
View File
@@ -67,6 +67,9 @@ function makeEnvironment() {
await env.router.start();
return env;
}
owl.config.env = makeEnvironment();
// create root component here
```
Notice that the router needs to be started. This is an asynchronous operation