<?= VV::include("public/docs/v3.1.4/Reference/layout") ?>
<main>
	<section>
		<h1>VV::init()</h1>
		<p>Initialize the Vegvisir front-end.</p>
		<p>Place this as close to the bottom of your <code>body</code> tag in your <code>shell_page</code> as possible.</p>
	</section>
	<section>
		<?= VV::include("snippets/HTMLCodeDemoElement/HTMLCodeDemoElement?id=docs/v3.1.4/PHP/VV/init/description") ?>
	</section>
	<section>
		<h1>Parameters</h1>
	</section>
	<section class="md param">
		<p>This method takes no parameters.</p>
	</section>
	<section>
		<h1>Return value</h1>
	</section>
	<section>
		<h3><code class="mtk6">string</code></h3>
		<p>Returns a script tag with the compiled and minified JavaScript required to run the Vegvisir front-end.</p>
	</section>
	<hr>
	<section>
		<h1>Examples</h1>
	</section>
	<section>
		<h2>Initializing a Vegvisir website</h2>
		<p>In this example we will initialize a single-page website with the two required files to run a bare-bones Vegvisir website: <code>/public/index.php</code> and <code>/public/shell.php</code>.</p>
	</section>
	<section>
		<?= VV::include("snippets/HTMLCodeDemoElement/HTMLCodeDemoElement?id=docs/v3.1.4/PHP/VV/init/example_init") ?>
	</section>
</main>