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