Is the Ceres theme applicable to existing React JS projects? If yes, then how will I apply for my project?
Hi,
Sorry for the late reply.
Unfortunately, at the moment Ceres doesn't have a React version out of the box.
You can apply Ceres theme to your existing React project, by following the steps below:
/assets/plugins/global/plugins.bundle.css
/assets/css/style.bundle.css
/assets/plugins/global/plugins.bundle.js
/assets/js/scripts.bundle.js
load
event. However, in SPA versions, content is rendered differently, and to use our JavaScript components, you'll need to move the initialization from the load
event to the useEffect
hook.useEffect
as shown below:useEffect(() => {
KTComponents.init();
});