After successful installation of magento 2 project admin login form is not displayed

After successful installation of magento 2 project admin login form is not displayed
  • This issue is common in magneto 2 because of the browser and resolution issue for that you have to go to the vendor path and replace the below given code:
  1. Move to the vendor file : vendor\magento\framework\View\Element\Template\File\Validator.php
  2. Go to line number 138

$realPath = $this->fileDriver->getRealPath($path);

3. Replace the above given code by :

$realPath = str_replace('\\', '/', $this->fileDriver->getRealPath($path));



Copyright © 2024 Tridhya Tech Limited, Inc. All rights reserved.