Reputation: 1808
First of all, I've changed my web directory to public_html using the instructions on the symfony cookbook website
My CSS file were working before but not anymore.
When I dump the assets using the command:
php app/console assetic:dump --env=prod --no-debug
The CSS files generated are empty.
The CSS files are also not being echoded in the html.
Any ideas?
Upvotes: 2
Views: 2245
Reputation:
If you're using symfony 2+
php app/console assets:install /username/public_html
or if you're working locally you can do something like this
php app/console assets:install C:/xampp/htdocs/dev_symfony_project/public_html
Upvotes: 1
Reputation: 9246
try passing directory to assetic:dump
command:
php app/console assetic:dump public_html --env=prod --no-debug
Upvotes: 2