Skip to content

Commit

Permalink
perf: migrate to vite
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Steinmetz <[email protected]>
  • Loading branch information
st3iny committed Feb 8, 2024
1 parent 4c93f05 commit bf43ee5
Show file tree
Hide file tree
Showing 15 changed files with 3,034 additions and 4,831 deletions.
14 changes: 0 additions & 14 deletions .eslintrc.js

This file was deleted.

13 changes: 13 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"ignorePatterns": ["src/**/*.d.ts"],
"globals": {
"appName": true,
"appVersion": true
},
"extends": [
"@nextcloud/eslint-config/typescript"
],
"rules": {
"vue/no-reserved-component-names": "off"
}
}
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,8 @@ vendor/

.php-cs-fixer.cache
composer.phar

css/contacts-contacts-main.css
css/contacts-files-action.css
css/contacts-index.css
css/contacts-main.css
2 changes: 2 additions & 0 deletions lib/Controller/PageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ public function index(): TemplateResponse {
$this->initialStateService->provideInitialState(Application::APP_ID, 'isTalkEnabled', $isTalkEnabled && $isTalkVersionCompatible);

Util::addScript(Application::APP_ID, 'contacts-main');
Util::addStyle(Application::APP_ID, 'contacts-main');
Util::addStyle(Application::APP_ID, 'contacts-index');

return new TemplateResponse(Application::APP_ID, 'main');
}
Expand Down
Loading

0 comments on commit bf43ee5

Please sign in to comment.