- WIP on Lean's autoload component

This commit is contained in:
Dave M. 2023-10-17 18:04:13 +00:00
parent 74d88dc8bf
commit 58a96c4b5c
3 changed files with 15 additions and 2 deletions

View File

@ -2,6 +2,8 @@
use Lean\Console\Lib\DatabaseMigrations;
$path = dirname(__DIR__, 2);
return [
'lean.console' => [
'picea' => [
@ -9,10 +11,19 @@ return [
'view' => [
[
'path' => getenv("PROJECT_PATH") . implode(DIRECTORY_SEPARATOR, [ "", "vendor", "mcnd" , "lean-console" , "view" ]),
'path' => implode(DIRECTORY_SEPARATOR, [ $path , "view", '' ]),
'order' => 99,
],
],
'asset' => [
'source' => [
[
'path' => implode(DIRECTORY_SEPARATOR, [ $path, "asset", '' ]),
'order' => 10
]
],
],
],
'ulmus' => [],

View File

@ -14,7 +14,9 @@
<title>{{ title() }}</title>
<style>
{% include "lean-console/base/asset/lean.css" %}
{% asset "lean-console/lean-console-bw.css" %}
{# include "lean-console/lean-console-bw.css" #}
</style>
{% section "head" %}{% endsection %}