Create new mjs script to define a component, this will be added in a script tag with type="module" on the page and the component will be available in the components list to be added on an entity. Editable with monaco or codemirror editor, saving the script will save it on file system in a scripts directory and should trigger saving any other pending changes of the scene and reload page.
Create new mjs script to define a component, this will be added in a script tag with type="module" on the page and the component will be available in the components list to be added on an entity. Editable with monaco or codemirror editor, saving the script will save it on file system in a scripts directory and should trigger saving any other pending changes of the scene and reload page.