Closed (duplicate)
Project:
Experience Builder
Component:
Page builder
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
1 Aug 2024 at 01:14 UTC
Updated:
2 Aug 2024 at 15:11 UTC
Jump to comment: Most recent
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.
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
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
Comment #3
larowlanComment #4
wim leersConfirming.
I'm surprised — I've seen @hooroomoo switch in a live demo between Drupal and vite. 🤔
Comment #5
wim leersThis landed as part of #3465107: Clarify if local dev on /ui should be possible without Drupal. 👍