Hi Guys I am installing the theme from demo19 from my Metronic 8 purchase.
But I am hitting a snag,
Error Uncaught ReferenceError: KTUtil is not defined
https://madshot.net/3d42aa84924d.png
I removed unnecessary HTML from the screenshot above to show naked code and show that I've included the libraries but it's throwing an error.
Please help thanks in advance.
Hi,
Note on the package.json file. This step is very important for Webpack in the Metronic template. The default package.json works for Gulp. To make it work for Webpack, you have to modify tools/package.json and remove "type": "module"
. Otherwise, it will cause a compilation error when running the next command.
For more information, please check the documentation here.
https://preview.keenthemes.com/metronic8/demo1/documentation/getting-started/build/webpack.html
Thanks
Also tried to compile it via webpack got this error
https://madshot.net/93201024b3d0.png