Edit this page

up.framework up.boot()
JavaScript function

This feature is experimental. It may be changed or removed in a future version.

Manually boots the Unpoly framework.

It is not usually necessary to call up.boot() yourself. When you load Unpoly's JavaScript file, Unpoly will automatically boot on DOMContentLoaded. There are only two cases when you would boot manually:

  • When you load Unpoly with <script async>
  • When you explicitly ask to manually boot by loading Unpoly with <script up-boot="manual">.

Before you manually boot, Unpoly should be configured and compilers should be registered. Booting will cause Unpoly to compile the initial page.

Unpoly will refuse to boot if the current browser is not supported. This leaves you with a classic server-side application on legacy browsers.