fracz
fracz

Reputation: 21249

Aurelia silently fails when there is no <template> wrapper

When there is no <template> ... </template> wrapper in the view, Aurelia fails with the following error:

Template markup must be wrapped in a element e.g. <template> <!-- markup here --> </template>

This works for example in the skeleton app.

However, I have messed up something in my application and now Aurelia silently fails when there is no <template>, giving no clue what happens. I have absolutely no idea where to look for the issue. I could not reproduce the minimal example either.

I have .developmentLogging() configured. When I am trying to load a page without the <template> wrapper (provided that the app is bootstrapped already), there are no new log entries in the console.

Do you have any suggestions what I might have broken?

Upvotes: 1

Views: 184

Answers (1)

fracz
fracz

Reputation: 21249

The problem is a result of aurelia-logging 1.1.0 upgrade.

See the related issue I have created.

Upvotes: 1

Related Questions