This is a complete example of a how to create an A-Frame system using ComponentWrapper
. Entities that have the position-logger
component will report their positions via a text entity above the component.
yarn install
to install the dependencies.yarn build
to build the project.yarn server
allows you to see the result in a WebVR ready browser at http://localhost:3000/.
Run yarn build
to create CDN publishable artifacts in the dist
folder.
Exposing dist
via a CDN such as jsdelivr will make it easy for other developers to use your a-frame component.