Skip to content

Static files are not generated for custom theme #4725

Closed
@OgreMHDW

Description

@OgreMHDW

Steps to reproduce

  1. The theme is installed in app/design
  2. The theme in set in store configuration

Expected result

  1. Running php bin/magento setup:static-content:deploy should deploy theme to pub/static folder
  2. Site should read normally.

Actual result

  1. php bin/magento setup:static-content:deploy only deploys the Magento/blank and Magento/luma themes to the pub/static folder.
  2. Custom theme is not present in pub/static
  3. JS and CSS files report 404 because they cannot be found in pub/static/frontend/Vendor/Themename/en_US/css/ folder

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions