These docs are for v0.1.4-alpha. Click to read the latest docs for v1.0.0-dev.

Creating a theme

📘

Recomendation

The best way to create a new theme is by copying the default theme, this way you are more likely to not break the main functionalities like events

To create a theme use theme method provided on Laravel's ServiceProvider loadViewsFrom like this:

<?php 

public function boot()
	{
  	// specify your views path and theme name
		$this->(__DIR__.'/../resources/views', 'my-custom-theme');
	}

If you got some assets to publish use in your boot:

<?php

$this->publishes([
	__DIR__.'/../public' => public_path('destination-path'),
], 'public');