Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

asadali007's avatar

Scribe for api

Hello, everyone i am using Scribe Package for api , the problem is that css files does not load only show html view anyone what is the reason behind this

0 likes
5 replies
automica's avatar

@asadali007 is the issue that where you've outputted your spec to is just loading up HTML without any styling?

if so, I would check your browser console as it maybe that you are trying to load css via http but are on https?

Umar-Jimoh's avatar

@automica I'm facing same issue in production now, I've checked the request header it's using http instead of https, how can i fix that?

Harsha63's avatar

Do Change in config/scribe.php

'assets_directory' => '/public/vendor/scribe',

Check your assets_directory path in scribe.php and change it as per your folder structure.

Please or to participate in this conversation.