From 056b5eacbac5ffcb9e375c6295f2e126af43c918 Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Sun, 1 Oct 2023 12:38:04 +0200 Subject: [PATCH] wip --- appinfo/info.xml | 2 +- package.json | 1 + templates/main.php | 8 +++++++- vite.config.js | 4 ++-- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/appinfo/info.xml b/appinfo/info.xml index b8b5044..cb9f235 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -17,7 +17,7 @@ - Grocery List + grocerylist grocerylist.GroceryList.index diff --git a/package.json b/package.json index ed156fc..2738142 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,7 @@ "@nextcloud/browserslist-config": "3.0.0", "@nextcloud/eslint-config": "^8.3.0", "@nextcloud/eslint-plugin": "^2.1.0", + "vite": "^4.4.9", "@nextcloud/vite-config": "^1.0.0", "sass": "^1.68.0", "vite": "^4.4.9" diff --git a/templates/main.php b/templates/main.php index c93e4ae..6bf5d2a 100644 --- a/templates/main.php +++ b/templates/main.php @@ -1 +1,7 @@ -
\ No newline at end of file + + +
diff --git a/vite.config.js b/vite.config.js index 745dd1c..b2bd89a 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,4 +1,4 @@ -import { createAppConfig } from '@nextcloud/vite-config' +import { createAppConfig } from '@nextcloud/vite-config'; export default createAppConfig({ main: 'src/main.js', @@ -8,4 +8,4 @@ export default createAppConfig({ * But as it increases the bundle size the JS parsing time will be longer -> bad for perfomance! */ inlineCSS: false, -}) \ No newline at end of file +});