Problem with manual bootstrapping

I think I’ve found the problem(s):

  • import {bootstrap} from 'aurelia-bootstrapper'; in main.js instead of import {bootstrap} from 'aurelia-bootstrapper-webpack'; (without -webpack)
  • in main.js, aurelia.setRoot(PLATFORM.moduleName('app'), document.body); (with PLATFORM.moduleName(…))
  • webpack.config.js: app: ['./src/main'], (with ./ … my mistake)
  • in main.js there is still a configure() method needed

There is a new branch fixed to show differences.

Perhaps the first two points can be transferred into the official documentation (https://aurelia.io/docs/fundamentals/app-configuration-and-startup#manual-bootstrapping)

Regards, Uwe

3 Likes