Skip to content

Commit 7f2a1a0

Browse files
committed
feat: add datatable with list of categories ✨
1 parent 6bb3800 commit 7f2a1a0

File tree

5 files changed

+146
-341
lines changed

5 files changed

+146
-341
lines changed

angular.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,13 @@
3030
"src/assets"
3131
],
3232
"styles": [
33-
"src/styles.scss"
33+
"src/styles.scss",
34+
"node_modules/datatables.net-dt/css/dataTables.dataTables.min.css"
3435
],
35-
"scripts": []
36+
"scripts": [
37+
"node_modules/jquery/dist/jquery.min.js",
38+
"node_modules/datatables.net/js/dataTables.min.js"
39+
]
3640
},
3741
"configurations": {
3842
"production": {
@@ -97,5 +101,8 @@
97101
}
98102
}
99103
}
104+
},
105+
"cli": {
106+
"analytics": false
100107
}
101108
}

package-lock.json

Lines changed: 60 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
"@angular/platform-browser": "^17.3.0",
1919
"@angular/platform-browser-dynamic": "^17.3.0",
2020
"@angular/router": "^17.3.0",
21+
"angular-datatables": "^17.1.0",
22+
"datatables.net": "^2.0.3",
23+
"datatables.net-dt": "^2.0.3",
24+
"jquery": "^3.6.0",
2125
"rxjs": "~7.8.0",
2226
"tslib": "^2.3.0",
2327
"zone.js": "~0.14.3"
@@ -27,6 +31,7 @@
2731
"@angular/cli": "^17.3.8",
2832
"@angular/compiler-cli": "^17.3.0",
2933
"@types/jasmine": "~5.1.0",
34+
"@types/jquery": "^3.5.9",
3035
"jasmine-core": "~5.1.0",
3136
"karma": "~6.4.0",
3237
"karma-chrome-launcher": "~3.2.0",
@@ -35,4 +40,4 @@
3540
"karma-jasmine-html-reporter": "~2.1.0",
3641
"typescript": "~5.4.2"
3742
}
38-
}
43+
}

0 commit comments

Comments
 (0)