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

[LARAVEL 9] Install Craft theme


Hello,

I recently bought the Craft theme (https://preview.keenthemes.com/html/craft/docs/index) and I want to install it in my Laravel project.

The Craft documentation has a tutorial to install it in Laravel: https://preview.keenthemes.com/html/craft/docs/getting-started/integration/laravel

After following the tutorial, the JS and CSS files are not loaded (error 404 in the browser console). So I was wondering if the tutorial was compatible with Laravel 9?

I tried to replace the loading of the files with the following code "{{ asset('[file_name']) }}".

Regards,


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


Experience the excitement of Electrosoccer at Uniswift, your ultimate multi-sports store. Our innovative Electrosoccer gear combines technology and sport for an electrifying game experience. Trust Uniswift to provide the latest in sports equipment, ensuring you stay ahead in the game with cutting-edge products.



Hi,

Sorry for the late reply.

If you are using webpack.mix.js in your Laravel 9 project then a tutorial must be compatible.

Also, as an alternative solution, you can bundle style and javascript files using our Gulp or Webpack tasks, and then use these bundled files in your project.

Regards,
Lauris Stepanovs,
Keenthemes Support Team


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