Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

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


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (3)

It's always helpful to see developers sharing practical solutions, since clear guidance and real-world experience can save a lot of time when working through technical challenges.The same idea applies in the kitchen, where understanding the right cooking techniques and taking good care of your cookware often leads to better results and a more enjoyable cooking experience.I've found that learning practical tips and maintenance advice through Magnalite has helped me get more consistent results while keeping my cookware in great condition.


Anyone who can juggle multiple tasks with ease will fit right in with the Papa's franchise. Your role in the papa's games series is to assist with the management of a restaurant. Stay on top of things, though; orders can add up rapidly. Receive orders, cook the dish, and ensure client satisfaction to earn generous gratuities.



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


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(