Hello,
First of all, great work on updating the template with KtUI and ReUI. I had downloaded pre-integrated angular project from github: https://github.com/keenthemes/metronic-tailwind-html-integration
package.json is still using tailwindcss 3.4.17 , instead of version 4.1 (latest) and does not include any of the latest packages like poppers, KtUi, etc.
{
"name": "metronic-tailwind-angular",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"watch": "ng build --watch --configuration development",
"test": "ng test"
},
"private": true,
"dependencies": {
"@angular/animations": "^19.2.12",
"@angular/common": "^19.2.12",
"@angular/compiler": "^19.2.12",
"@angular/core": "^19.2.12",
"@angular/forms": "^19.2.12",
"@angular/platform-browser": "^19.2.12",
"@angular/platform-browser-dynamic": "^19.2.12",
"@angular/router": "^19.2.12",
"rxjs": "~7.8.0",
"tailwindcss": "^3.4.17",
"tslib": "^2.3.0",
"zone.js": "~0.15.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^19.2.13",
"@angular/cli": "^19.2.13",
"@angular/compiler-cli": "^19.2.12",
"@types/jasmine": "~5.1.0",
"jasmine-core": "~5.1.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"typescript": "~5.8.3"
}
}
Also, app.component.ts does not import index or demo1 as it used to be in previous version.
I appreciate if you can update the github angular to reflect the latest changes.
Hi Umair
The KtUI is included with Metronic assets. We have to use different approach to integrate. There will be no longer index or demo1 in app.component.ts, but in angular.json.
Please refer to the latest docs.
http://keenthemes.com/metronic/tailwind/docs/getting-started/integration/angular
Thanks