Skip to content

Three should be specified as a dependency #1

@gtg3vv

Description

@gtg3vv

This is similar to w3reality/three-geo#13, but threejs is not listed as a dependency of this project even though it is used explicitly in index.js. Creating a new Threelet instance requires having THREE already be defined as the imported threejs module. This I assume is alright if the two scripts are included in sequence as in the example, but does not work when installing via npm as suggested in the readme.

index.js needs a line similar to
import THREE from 'three' after listing it as a dependency

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions