using metronic in react project
hii i am working on react project and i want to use metronic to make ui more representable, i have downloaded metronic8 now can you guide me how can i use metronic to make ui more attractive
Replies (1)
Hi,
Sorry for the late reply.
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