fipamothemekit/engine/StartKit.php
are0h 0799250b8e Removed NPM from build process
The base theme needs to be vanilla so it's easy to get going, so npm
dependecies have been removed so the base script is pure JS.

Also created an example config that will tell the system what theme it
should be rendering for development.

Updated the composer script to start a local php server for development.
2023-04-06 15:57:19 -07:00

17 lines
343 B
PHP

<?php
namespace engine;
class StartKit
{
public function __construct()
{
$config = json_decode(file_get_contents("./config.json"), true);
$theme = $config["current_theme"];
new ThemeEngine(
"src/themes/theme-" . $theme,
"/src/themes/theme-" . $theme . "/" . $theme
);
}
}