work in progress [might break]

This commit is contained in:
Leon van Kammen 2023-11-03 11:08:59 +01:00
parent 544a2be784
commit db62d92998
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@ AFRAME.registerComponent('helloworld', {
// entrypoint for single-file xrshell/AFRAME components // entrypoint for single-file xrshell/AFRAME components
this.addEventListener('xrshell', (opts) => { this.addEventListener('xrshell', (opts) => {
const require = AFRAME.components.xrshell.require // available by adding <a-scene xrshell> const require = AFRAME.components.xrshell.require // available by adding <a-scene xrshell>
require({
"superclipboard": { required: false, repo: "https://github.com/Utopiah/aframe-components" }, "superclipboard": { required: false, repo: "https://github.com/Utopiah/aframe-components" },
"spatialeditor": { required: false, repo: "https://github.com/coderofsalvation/xrshell-apps" }, "spatialeditor": { required: false, repo: "https://github.com/coderofsalvation/xrshell-apps" },
"jsonform": { required: false, repo: "https://github.com/coderofsalvation/xrshell-apps" }, "jsonform": { required: false, repo: "https://github.com/coderofsalvation/xrshell-apps" },