Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: migrate to Vite #6357

Closed
wants to merge 1 commit into from
Closed
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
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ composer.phar

build/
js/
/css/
node_modules/
src/fonts
*.clover
Expand Down Expand Up @@ -108,4 +109,3 @@ coverage/

js/public
css/public

7 changes: 0 additions & 7 deletions babel.config.js

This file was deleted.

15 changes: 0 additions & 15 deletions css/calendar.scss

This file was deleted.

8 changes: 0 additions & 8 deletions css/dashboard.css

This file was deleted.

3 changes: 3 additions & 0 deletions lib/Controller/ViewController.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
use OC\App\CompareVersion;
use OCA\Calendar\Service\CalendarInitialStateService;
use OCP\App\IAppManager;
use OCA\Calendar\AppInfo\Application;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http\FileDisplayResponse;
use OCP\AppFramework\Http\TemplateResponse;
Expand Down Expand Up @@ -61,6 +62,8 @@ public function __construct(string $appName,
public function index():TemplateResponse {

$this->calendarInitialStateService->run();
\OCP\Util::addScript(Application::APP_ID, Application::APP_ID . '-main');
\OCP\Util::addStyle(Application::APP_ID, Application::APP_ID . '-main');
return new TemplateResponse($this->appName, 'main');
}

Expand Down
Loading
Loading