Skip to content

Example without importmap #1

@Utopiah

Description

@Utopiah

Most AFrame components are not proper modules. The example in AFrame itself does highlight some of the challenges, in particular avoiding multiple instances of AFrame and Three.

Consequently if it's not too much work have an example that doesn't require an importmap with import and exports in other components (which are not modules) would probably help onboarding for people familiar with AFrame.

Edit: this is arguably outdated but unfortunately the situation right now seems to be a bit of a mess, in between the "proper" importmap syntax used here and where most components and their users are.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions