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

Implement Metronic in exit Laravel project


Hey,

Can you explain me how i implement your theme in a exist Laravel project? Which files i need to transfer? I dont want to use the whole Demo1.

King Regards
Jamie


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 (1)


Hi Jamie C,

At least, you have to move these folders.

  • app/Core/
  • config/demo1/ (depending on your choice of demo)
  • config/global/
  • app/Http/Controllers/PagesController.php
  • app/View/Components/
  • app/helpers.php
  • resources/assets
  • resources/views/
  • composer.json
  • webpack.mix.js (do not need to replace yours, but you can copy the content and move it into your existing webpack config file)



Then the vendor is a generated folder. You can run "composer install" to setup.

The helpers.php file needs to include in the package.json.


"autoload": {
"files": [
"app/helpers.php"
],



Please add the below code from this file;
app/Providers/AppServiceProvider.php


$theme = theme();

// Share theme adapter class
View::share("theme", $theme);


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