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

Template added to React Project


Hi,

I've a react project and i want to add metronic layouts and i want to use metronic components.But i dont want to use metronic default project structure.Can i add only template and component to my project?


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)


How can i implement metronic layout and component to my react project basicly



Hi,

Sorry for the late reply.

You can use your own React project structure, just copy the needed components to your project and make sure to include our main mandatory style files.


import "./_metronic/assets/sass/style.react.scss"
import "./_metronic/assets/sass/style.scss"


If you want to use keenicon set, you should import styles below.

import "./_metronic/assets/keenicons/duotone/style.css"
import "./_metronic/assets/keenicons/outline/style.css"
import "./_metronic/assets/keenicons/solid/style.css"


Also, you should include our global components initialization file to use our custom typescript components. Refer to initialization in src/_metronic/layout/MasterInit.tsx.

Regards,
Lauris Stepanovs,
Keenthemes Support Team



Actually i want to use redux toolkit can i add to your default structure and i cant pass login things.I dont want to use registartion and i delete registartion page /dashboard not opening.login button contionue loading..


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  :(