Metronic 9 React Setup error when building
the error come from metronic folder
src/metronic/vendors/@form-validation/cjs/plugin-mui/index.js:1:1 - error TS9005: Declaration emit for this file requires using private name 'Mui'. An explicit type annotation may unblock declaration emit.
every single file from metronic folder error like this
Replies (5)
Hi,
May I know which Metronic version and framework are you using ?
Metronic v9 Tailwind HTML or Metronic v9 Tailwind React ?
Regards,
Sean
Metronic 9.1.2 (latest) and react framework
im using step where i need download from github repository first and adding folder from metronic-tailwind-html
Hi,
For React please use the official React version of Metronic 9 Tailwind.
For react you can use the most advanced form validation tool:
Please do not mix the features of the HTML version with those of the React version. We have especially released the complete react version for Metronic 9 Tailwind which is available in the recent v9.1.2 update, under the Vite folder.
Regards,
Sean
in the docs stated
Copy the src folder from the metronic-tailwind-html package and paste it into the React src directory.
so im wrong following that step??
Hi,
This is an older solution before we release the new Metronic 9 Tailwind React with complete generic react components.
Please download the latest Metronic v9.1.2 from themeforest and just use the vite/typescript or vite/javascript version of the Metronic 9 React. To get started please refer to it's readme.md file.
Regards,
Sean