Closed carbauma closed 2 months ago
This question will be hard to answer without sharing any details, both Visual Studio Code and AWS Cloud 9 are IDEs, and them should not have any effect on how this package works. An IDE is just a tool (or set of tools) that helps you develop/built your application faster. So, if you have Laravel 7+ working in your IDE, this package should also work there.
Thank you dfsmania, I know that are just IDEs, but it is strange that I am following the same steps in both IDEs and the problem is only with Cloud9. I have created right now a new environment with cloud9 and then I have installed composer and laravel, finally I have implemented AdminLTD, and when I make a preview, is like it does not show the css styles.
@carbauma Use your browser's console, check for errors there, maybe there is some access permission problem in your filesystem, or maybe your Laravel root URL is not correctly configured.
@dfsmania you are right! I have checked the browser's console, and basically the error is this one:
"Mixed Content: The page at '
Do you know what I have to do? thank you!
Not really, but looking on the internet may help, for example: https://stackoverflow.com/questions/72289798/laravel-include-css-file-from-mixed-content
It seem you're using an https site, so all content/assets must be requested over https too. I will try setting the ASSET_URL
in the environment file, since it's just an environment configuration. That way, you may keep an environment file for http local development and another one for production over https.
Thank you @dfsmania I have use in the file .env this "ASSET_URL=https://example.com " and is working :)
Hello, I know how to use adminLTD with Visual Studio Code, but when I do the same with Cloud9, it does not work. Can you explain my why?