Skip to content

Must override at least one static content file or custom theme static content won't deploy  #3754

Closed
@dnadle

Description

@dnadle

Steps to reproduce

  1. I created a custom theme with Magento/blank as parent, to override a template.
  2. I did not override any static content. (nothing in the theme's web folder).
  3. I ran bin/magento setup:static-content:deploy

Expected result

The static content requests would fall back to load from the Magento/blank theme.

Actual result

All of the static content links in pub/static/theme 404'd.

Workaround

I added a logo file to theme/web/images and reran setup:static-content:deploy. This time all the files were generated in pub/static.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for development

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions