From 8ee54147b49ca8f36c6ad775a6a4b0ca6493c9e6 Mon Sep 17 00:00:00 2001 From: Jacopo Federici Date: Wed, 19 Jun 2019 19:20:59 +0200 Subject: [PATCH] docs(current): change to PLATFORM.moduleName('app') and to 'aurelia-bootstrapper' --- .../3. fundamentals/1. app-configuration-and-startup.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/current/en-us/3. fundamentals/1. app-configuration-and-startup.md b/current/en-us/3. fundamentals/1. app-configuration-and-startup.md index 34e0567..61b1302 100644 --- a/current/en-us/3. fundamentals/1. app-configuration-and-startup.md +++ b/current/en-us/3. fundamentals/1. app-configuration-and-startup.md @@ -212,7 +212,7 @@ So far, we've been bootstrapping our app declaratively by using the `aurelia-app In case you use Webpack, you can replace the `aurelia-bootstrapper-webpack` package with the `./src/main` entry file in the `aurelia-bootstrapper` bundle defined inside of `webpack.config.js`, and call the bootstrapper manually: ```JavaScript Manual Bootstrapping with Webpack -import {bootstrap} from 'aurelia-bootstrapper-webpack'; +import {bootstrap} from 'aurelia-bootstrapper'; bootstrap(async aurelia => { aurelia.use @@ -220,12 +220,12 @@ bootstrap(async aurelia => { .developmentLogging(); await aurelia.start(); - aurelia.setRoot('app', document.body); + aurelia.setRoot(PLATFORM.moduleName('app'), document.body); }); ``` ```TypeScript Manual Bootstrapping with Webpack [variant] import {Aurelia} from 'aurelia-framework'; -import {bootstrap} from 'aurelia-bootstrapper-webpack'; +import {bootstrap} from 'aurelia-bootstrapper'; bootstrap(async (aurelia: Aurelia) => { aurelia.use @@ -233,7 +233,7 @@ bootstrap(async (aurelia: Aurelia) => { .developmentLogging(); await aurelia.start(); - aurelia.setRoot('app', document.body); + aurelia.setRoot(PLATFORM.moduleName('app'), document.body); }); ```