Metronic version 9, doesn't work.
When i follow this steps.
https://keenthemes.com/metronic/tailwind/docs/getting-started/integration/frontend/react
The console give me this eror.
SyntaxError: The requested module '/src/theme/core/components/dropdown/types.ts' does not provide an export named 'KTDropdownConfigInterface' (at index.ts:2:10)
22:57:22 [vite] Pre-transform error: Failed to load url /src/main.ts (resolved id: /src/main.ts). Does the file exist? (x3)
To fix this error just add "type" after "export": export type { KTDropdownConfigInterface, KTDropdownInterface } from './types';
You have to do that to all export in index.ts
Hi,
We have just released Metronic v9.0.1 and fixed the type issue for SPA integration. We have updated React Integration Guide as well.
Regards.