Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some css files are corrupting when calling file with "asset_add()". #5122

Open
erhanask opened this issue Feb 7, 2023 · 0 comments
Open

Comments

@erhanask
Copy link

erhanask commented Feb 7, 2023

Hi,

I have an issue about using asset_add function on live. I'm writing my styles into "styles.css" with asset_add(") and then using asset_style() to call the whole file.

I don't have any problem on understanding of the usage of these functions and also it works perfect .

But when I update my project on live with jenkins with these commands:

composer update
php -d memory_limit=-1 /usr/local/bin/composer update -n
rm -rf bootstrap/cache/*.php
php artisan cache:clear

After the update some of the css files I add with asset_add() not loading as I want. Also if I use asset_style() for each file it works perfect but I want to know what can cause this problem ?

I can give more information about my configurations.
Thanks for help from now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant