How to use core components in nextjs version
I followed this guide to get nextjs version up an running:
https://keenthemes.com/metronic/tailwind/docs/getting-started/integration/nextjs
How I'm supose to use the core components in my nextjs code you don't explain that in your documentation.
You have this section that say to import global init:
const GlobalInit = dynamic(() => import('../components/GlobalInit'), { ssr: false });
<GlobalInit />
But you don´t explain how to use the initialized components
Replies (1)
Hi,
Sorry for the late reply.
You can use the component exactly as shown in our documentation:
https://keenthemes.com/metronic/tailwind/docs/components/accordion
Simply copy the code from the preview example and paste it into your React component.
Regards,
Lauris Stepanovs,
Keenthemes Support Team