Skip to content

CSS is not loaded when accessing WordPress Admin through the Bud dev server #2931

@aksld

Description

@aksld

Terms

Description

What's wrong?

I'm using bedrock + sage theme.
Dev environment : lando (docker).

When accessing to http://gm.lndo.site all is working nice.
But when accessing to http://localhost3000 i have no css and no js (see screenshoot).

What have you tried?

Use Sage without bedrock.

What insights have you gained?

When refreshing http://localhost:3000 i can see, quickly, an error in console : error : ERR_INVALID_URL : cannot sent headers after they are sent to the client.

Possible solutions

I don't know :(

error

Steps To Reproduce

  1. composer create-project roots/bedrock
  2. cd web/app/themes
  3. composer create-project roots/sage your-theme-name dev-main
  4. cd your-theme-name/
  5. yarn
  6. Edit bud.config.js with URL
  7. yarn dev
  8. Access to http://localhost:3000

Expected Behavior

Have css and js.

Actual Behavior

No css and no js.

Relevant Log Output

No response

Versions

Last version

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions