I noticed there is React support in version 9.0. According to the docs it involves creating a vite react app and copying and renaming folders from the download package. I followed the steps but it's not working. Can you provide an example zip file or repo of a working react example for 9.0
Same problem as him
Hi,
Please see the instructions below to get working example:
metronic-tailwind-react folder.src folder from the metronic-tailwind-html package and paste it into the metronic-tailwind-react/src directory.theme. The directory structure should now look like this: metronic-tailwind-react/src/theme.metronic-tailwind-html/dist/assets and paste it into metronic-tailwind-react/public.npm install and serve the project with npm run dev.Thanks for the prompt reply. I tried that and still getting some typescript and tailwind errors.
KTLayout.init(); // KTLayout is missing init()
tailwind.config.js //ESLint: 'require' is not defined.(no-undef)
demo1.js //ESLint: 'KTMenu' is not defined.(no-undef), KTToggle, etc
Same problem for me. I followed the above steps but gets this error:
PS C:\...\metronic-tailwind-html-integration-main\metronic-tailwind-react> npm run build
> metronic-react-tailwind@0.0.0 build
> tsc -b && vite build
src/App.tsx:12:14 - error TS2339: Property 'init' does not exist on type 'typeof import("C:/.../metronic-tailwind-html-integration-main/metronic-tailwind-react/src/theme/app/layouts/demo1")'.
12 KTLayout.init();
 ~~~~
Found 1 error.
HI,
To fix this error in file src/theme/app/layouts/demo1.js you should change 
KTDom.ready(() => {
KTLayout.init();
});export default KTLayout;