VV::init()

Initialize the Vegvisir front-end.

Place this as close to the bottom of your body tag in your shell_page as possible.

Parameters

This method takes no parameters.

Return value

string

Returns a script tag with the bundled and minified JavaScript required to run the Vegvisir front-end.


Examples

Initializing a Vegvisir website

In this example we will initialize a single-page website with the two required files to run a bare-bones Vegvisir website: /public/index.php and /public/shell.php.