How to start a react project from scratch and integrate only the needed stuffs?
The documentation do not provide any way for that. I want to only integrate few of the components in my Next.js application. How can I do so?
Replies (1)
Hi,
You need to include two main theme parts.
- Main style file, we import it inside src/index.tsx.
import "./_metronic/assets/sass/style.scss" - Main typescript components, and their initialization file. All typescript components are imported and initialized inside src/_metronic/layout/MasterInit.tsx.
Other imports depends on the page and components you are planning to use, if you want to use just a few components from our theme then probably you can consider just copying a separate styles needed for specific component.
Regards,
Lauris Stepanovs,
Keenthemes Support Team