- Issue created by @fago
Modules already ship with default vue3 components, which can be used by the frontend by default - such as a general views template.
More specific modules or recipes might want to ship with dedicated frontend parts. We should make it easy to take this frontend components over and/or update them.
Add command drush custom-element:init [vue3|svelte|...] [--update] <target>
Modules like custom elements should be able to generate some of those dynamically and/or provide a dedicated command for updating those components by MODULE or entity-type. e.g. we could support optional --module XY and --entity-type NODE parameters
It will go through module directories and add
A drush config option for the default component location would be good to have, including a sane default which is able to detect nuxt in a project "frontend" folder.
Active
1.0
Code