-
Notifications
You must be signed in to change notification settings - Fork 610
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
Assets not loaded. #461
Comments
If you are looking for a quick fix for testing then add cocorico.dev to your hosts file and associate it with your localhost IP (127.0.0.1). What have you set your environment to (--env=dev or --env=prod)? Have you added those configurations to both parameters.yml and parameters.yml.dist within the /Symfony/app/config folder? |
After clearing my installation and remaking it I was able to reload almost every asset, except by the all.css from http://localhost:8888/css/compiled/all.css |
when you update all.css in /Symfony/web/css it saves to all_all_1.css in /Symfony/web/css/compiled. If the changes you are making to the all.css file is not reflecting on your install; Make sure you dump static assets using "php bin/console assetic:dump --env=dev" while in the /Symfony folder, and clear cache & reload the web page in your browser. |
I did not change the css files yet, they were not visible. |
Hello there,
I am using cocorico on Mac through MAMP.
Until now, my configurations point to 127.0.0.1:8888 as the MAMP default host config.
Right now, I am unable to see any assets.
The following configuration is being used:
use_assetic_controller: false
cocorico.assets_base_urls: 'http://localhost:8888'
router.request_context.host: 'localhost'
router.request_context.scheme: http
router.request_context.base_url: ''
Even using the configuration posted above, my assets keep sending me to cocorico.dev/
The text was updated successfully, but these errors were encountered: