Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/current/2507-migrate-to-vite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Maintenance

- Migration of frontend build system from webpack to Vite
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ cookbook.tar.gz

/.php-cs-fixer.cache
/.eslintcache
/css


# Built js package
js/*
Expand Down
2 changes: 2 additions & 0 deletions lib/Controller/MainController.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public function index(): TemplateResponse {
$this->userFolder->getFolder();
} catch (UserFolderNotWritableException $ex) {
Util::addScript('cookbook', 'cookbook-guest');
Util::addStyle('cookbook', 'cookbook-guest');
return new TemplateResponse($this->appName, 'invalid_guest');
}

Expand All @@ -59,6 +60,7 @@ public function index(): TemplateResponse {
$this->dbCacheService->triggerCheck();

Util::addScript('cookbook', 'cookbook-main');
Util::addStyle('cookbook', 'cookbook-main');

return new TemplateResponse($this->appName, 'index'); // templates/index.php
}
Expand Down
Loading
Loading