Skip to content

Commit

Permalink
Merge pull request #71 from tobiasKaminsky/new_wip
Browse files Browse the repository at this point in the history
New wip
  • Loading branch information
tobiasKaminsky committed Oct 6, 2023
2 parents 69d6715 + 4de064c commit 0388669
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 15 deletions.
2 changes: 1 addition & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</dependencies>
<navigations>
<navigation>
<name>Grocery List</name>
<name>grocerylist</name>
<route>grocerylist.GroceryList.index</route>
</navigation>
</navigations>
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
"@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"
"sass": "^1.68.0"
},
"engines": {
"node": ">=18.0.0",
Expand Down
8 changes: 7 additions & 1 deletion templates/main.php
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
<div id="content"></div>
<?php
use OCP\Util;
Util::addScript('grocerylist', 'grocerylist' . '-mainScript');
Util::addStyle('grocerylist', 'main');
?>

<div id="app-content"></div>
4 changes: 2 additions & 2 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createAppConfig } from '@nextcloud/vite-config'
import { createAppConfig } from '@nextcloud/vite-config';

export default createAppConfig({
main: 'src/main.js',
Expand All @@ -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,
})
});

0 comments on commit 0388669

Please sign in to comment.