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,
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