Hi everyone! I’ve started integrating Metronic with Next.js, and so far, the local server is working well for the layout, sidebar, and header. However, I noticed that the other pages are only available as HTML files rather than in Next.js format. Are these pages compatible with Next.js, or would I need to convert them manually? If so, what’s the best way to go about modifying these HTML files to work within my Next.js project structure? Any tips or resources would be greatly appreciated!
It's great that you're integrating Metronic with Next.js! Those HTML files might need some tweaks to fit into the Next.js structure. You’ll likely want to convert them into React components. Check out the Next.js docs for guidance on page routing and component structure hero clicker
Hi,
Sorry for the late reply.
Our Metronic integration example app consists of the layout markup and initialization code. You can use this app as a starting point for your application, most of our HTML markup should be compatible with NextJs, to simplify the HTML migration to TSX you can use this converter.
Regards,
Lauris Stepanovs,
Keenthemes Support Team