Reputation: 53
Hi I had installed magento2 with sample data.
I would deploy static css/JS but the command php bin/magento setup:static-content:deploy
it return 0 error but the problem still here.
Also I can't find deploy.php
file in the standard dir.
Upvotes: 1
Views: 273
Reputation: 864
Use below command for import sample data
php bin/magento setup:static-content:deploy -f
php bin/magento indexer:reindex
php bin/magento cache:flush
Upvotes: 4
Reputation: 552
You can use below command to deploy pub/static contents: -
php bin/magento setup:static-content:deploy en_US es_ES
en_US and es_ES are the language directory.
Upvotes: 0
Reputation: 81
You have written
"bin/magento setup:static-content:deploy it"
but it should be
"bin/magento setup:static-content:deploy"
or
"bin/magento setup:static-content:deploy language_code"
Upvotes: 0