Skip to content

call out threejs as a (peer) dependency #3

@thescientist13

Description

@thescientist13

Maybe I just missed it in the installation docs, but when trying out Lume, I was getting issues because three.js was not found

Checking with npm, I could see that three was technically in the dependency graph

greenwood-lume@1.0.0 /Users/owenbuckley/Workspace/github/greenwood-lume
└─┬ lume@0.3.0-alpha.44
  ├─┬ @lume/three-projected-material@0.3.1
  │ └── three@0.174.0 deduped
  └── three@0.174.0

But it is only a peerDependency of lume, but I didn't see it explicitly called out in the docs that this package needed to be "vendored" as such?

The solution was simply to npm i three but I think an explicit callout in the docs would be helpful 👍

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