Hey there.
As per the documentation, I was trying to prepare a new project with the new update (v9.2.0).
I tried following the next steps:
Import KTUI and Metronic Scripts
Edit angular.json and add the following to the scripts array (under the build options for your project):
"scripts": [
"node_modules/@keenthemes/ktui/dist/ktui.js",
"src/assets/metronic/core/index.js",
"src/assets/metronic/app/layouts/demo1.js"
]
I've got the same problems, do you have an approx when you're updating the angular integration docs @Faizal?
Hi
Sorry for the inconvenience.
We will update and fix the Metronic v9 Angular integration docs as soon as possible.
Thanks
I tried running tsc over the index.ts, build passed, however, more weird errors kicked in:
Watch mode enabled. Watching for file changes...
NOTE: Raw file sizes do not reflect development server per-request transformations.
➜ Local:
➜ press h + enter to show help
✘ [ERROR] Could not resolve "./dropdown"
node_modules/@keenthemes/ktui/src/components/dropdown/index.ts:6:27:
6 │ export { KTDropdown } from "./dropdown";
╵ ~~~~~~~~~~~~