Metronic 8 - ReactJS
Hi guys,
Could you please advise what is the best way of working with metronic template? Should I start a new react project from scratch and link metronic assets into it? Or should I better do in-place modifications in the template itself?
Thanks.
Best regards,
Illia
Replies (3)
Hi,
It depends on your project requirements. if you already have an existing project then you can just copy theme files and paste them into your project.
Please make sure to include the mandatory style files:
import "./_metronic/assets/sass/style.react.scss"
import "./_metronic/assets/sass/style.scss" If you want to use Keenicon set, you should import keenicons style below.
import "./_metronic/assets/keenicons/duotone/style.css"
import "./_metronic/assets/keenicons/outline/style.css"
import "./_metronic/assets/keenicons/solid/style.css" Also, to use our custom typescript components you should include our global components initialization file. Refer to initialization in src/_metronic/layout/MasterInit.tsx.
If you do not have an existing project then recommended way is to use our current structure as a base and then modify files to match your needs. By following our default structure will make it much easier to apply new Metronic updates.
Regards,
Lauris Stepanovs,
Keenthemes Support Team
Hi,
Please do not hesitate to reach out if you have any further questions on this topic or anything else.
Regards,
Lauris Stepanovs,
Keenthemes Support Team
Your Support Matters!
We will highly appreciate your Metronic Review on Themeforest.
Please go to Themeforest Downloads page, select Metronic & leave your feedback.