This is an initial issue with magento 2, After Installation Front-End and Back-End CSS / JS do not work.
Using following steps, it is getting work easily for magento 2 !
This is creating frontend / adminhtml directory to the "pub/static/" directory.
Using following steps, it is getting work easily for magento 2 !
This is creating frontend / adminhtml directory to the "pub/static/" directory.
Using Command Prompt(CMD) set CSS & JS for Magento2
Step 1 : Run CMD
Step 2 : Goto Magento installation directory using
CD wamp/www/[Magento dir.]
Step 3 : Run
php bin/magento setup:static-content:deploy
If you are getting problem of
"php is not recognized as an internal or external command" [Click here...]
Step 4 : Run
php bin/magento indexer:reindex
Step 5 : Delete Cache from
var/cache/[delete all dir.]
It's getting work for Front-end & Back-end !
Step 2 : Goto Magento installation directory using
CD wamp/www/[Magento dir.]
Step 3 : Run
php bin/magento setup:static-content:deploy
If you are getting problem of
"php is not recognized as an internal or external command" [Click here...]
Step 4 : Run
php bin/magento indexer:reindex
Step 5 : Delete Cache from
var/cache/[delete all dir.]
It's getting work for Front-end & Back-end !
No comments:
Post a Comment