Overview

Previously `npm run dev` from inside UI would work without a running drupal instance - it used msw mocks.

Now this isn't possible. There's an expectation that a global drupalSettings will exist.

Proposed resolution

Confirm that we want to support FE devs who want to contribute without having Drupal running.
If so fix things so `npm run dev` works.
If not, remove the command, and mocks and update docs

User interface changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

larowlan created an issue. See original summary.

larowlan’s picture

Status: Active » Needs review
wim leers’s picture

Assigned: Unassigned » bnjmnm

Confirm that we want to support FE devs who want to contribute without having Drupal running.

Confirming.

I'm surprised — I've seen @hooroomoo switch in a live demo between Drupal and vite. 🤔

wim leers’s picture

Assigned: bnjmnm » Unassigned
Status: Needs review » Closed (duplicate)
Related issues: +#3465107: Clarify if local dev on /ui should be possible without Drupal