- WIP on assets

This commit is contained in:
mcndave committed 2023-10-30 15:24:12 +00:00
1 parent 7ec6aa3f06
commit ea82d8dd08
8 files changed
+87 -9

No files matched your search

+13 -4
View File
@@ -2,17 +2,26 @@
use Lean\Console\Lib\DatabaseMigrations;
$path = dirname(__DIR__, 2);
return [
'lean.console' => [
'picea' => [
'context' => "Lean\\Console\\View",
'context' => Lean\Console\View::class,
'view' => [
[
'path' => getenv("PROJECT_PATH") . implode(DIRECTORY_SEPARATOR, [ "", "vendor", "mcnd" , "lean-console" , "view" ]),
'path' => implode(DIRECTORY_SEPARATOR, [ $path , "view", '' ]),
'order' => 99,
],
],
'asset' => [
[
'path' => implode(DIRECTORY_SEPARATOR, [ $path, "asset", '' ]),
'order' => 10
],
],
],
'ulmus' => [],
@@ -20,14 +29,14 @@ return [
'tell' => [
'json' => [
[
'path' => getenv("PROJECT_PATH") . "/vendor/mcnd/lean-console/meta/i18n",
'path' => implode(DIRECTORY_SEPARATOR, [ $path, "meta", "i18n", "" ]),
'order' => 99,
],
]
],
'routes' => [
'Lean\\Console\\Controller' => getenv("PROJECT_PATH") . "/vendor/mcnd/lean-console/src/Controller/",
'Lean\\Console\\Controller' => implode(DIRECTORY_SEPARATOR, [ $path, "src", "Controller", "" ]),
],
],