Closed (fixed)
Project:
Custom Elements
Version:
3.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
23 Sep 2025 at 12:05 UTC
Updated:
10 Oct 2025 at 09:04 UTC
Jump to comment: Most recent
Provide a plugin making use https://github.com/drunomics/nuxt-component-preview
- Make it some global markup for having one global nuxt app, automatically, once page page - but only when needed
- Re-use the same nuxt-app for multiple components
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
fagoThis PR is ready to review, testing it atm together with #3546449: Add a generic JavaScriptComponentSource
Comment #4
fagoTesting it with a custom service like this:
Comment #5
useernamee commented#3542938: Add API to preview custom elements in Drupal makes more sense when you see the nuxt preview provider service definition. I propose reviewing this after we merge parent ticket.
Comment #6
fagoright! It landed, thus I update the MR
Comment #7
fagoThis has a green build + it works together with github.com/drunomics/nuxt-component-preview fine!
Comment #8
fagooh, before I forget, the AI disclosure: I used AI to help me developing this!
Comment #9
fagoComment #11
fagook, merged it, so we can move on more easily and have green tests again. Let's open new issues for all remarks found.