Support the ongoing development of Laravel.io →
Requests Views
Last updated 2 years ago.
0

Are you loading files using Blade?

{{ HTML::style(url, attributes, secure) }}
{{ HTML::script(url, attributes, secure) }}
{{ HTML::image(url, alt, attributes, secure) }}

Can you paste the view if you are

Last updated 2 years ago.
0

No , I dont want to use blade.And the problem is with .htacces file , I dont know how to enable it

Last updated 2 years ago.
0

You could try to load your data without using blade:

<?php echo public_path() . "/css/style.css"; ?>
Last updated 2 years ago.
0

You can still use HTML class without blade:

<?php echo HTML::script(url, attributes, secure) ?>
Last updated 2 years ago.
0

Looks like your script is looking for the files in directory 'music'... http://www.domain.com/music/cover.jpg

You must point them to the public-root:

<img src="../cover.jpg">
Last updated 2 years ago.
0

Maybe your server used nginx plugin or another same. You have setup extensions for images, javascript and style file.
You can maybe use

<?php echo HTML::script(url, attributes, secure) ?>
Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.