Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

How can I install demo38 in my Laravel project?


I have already installed the theme for demo1. Now, I want to replace it with demo38. Should I directly copy and paste the HTML folder after downloading it from the layout-builder, or do I need to delete the old folder of demo1 first? Could you provide more detailed steps? Thank you very much.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (1)


Hi,

To install demo38 in your Laravel project, follow these steps:

Obtain the assets from demo38 by downloading them from the HTML version of Metronic, as the layout builder doesn't provide assets.

Replace the assets in your Laravel project with the ones from demo38. You can replace the CSS, JavaScript, and other assets in the appropriate folders of your Laravel project.

In your Laravel project, go to the /resources/views directory and locate the layout folder. Rename it to a separate folder.

Create a new folder named layout in /resources/views.

Copy the layout partials from demo38 and paste them into the newly created layout folder in your Laravel project.

For each file inside the layout folder, rename the extension from .html to .blade.php. For example, if you have index.html, rename it to index.blade.php.

Open each .blade.php file and replace any references to partials with Laravel's blade import directives. For instance,

@include("partials.header")


By following these steps, you should be able to integrate demo38 into your Laravel project. If you encounter any issues or need further assistance, feel free to reach out.

Thanks


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(