0.1.0 • Published 4 years ago

aframe-webcentric-component v0.1.0

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

aframe-webcentric-component

Version License

Web-Centric functionality for A-Frame

For A-Frame.

API

PropertyDescriptionDefault Value

Installation

Browser

Install and use by directly including the browser files:

<head>
  <title>My A-Frame Scene</title>
  <script src="https://aframe.io/releases/0.9.2/aframe.min.js"></script>
  <script src="https://unpkg.com/aframe-webcentric-component@1.0.0/dist/aframe-webcentric-component.min.js"></script>
</head>

<body>
  <a-scene>
    <a-entity webcentric="foo: bar"></a-entity>
  </a-scene>
</body>

npm

Install via npm:

npm install aframe-webcentric-component

Then require and use.

require('aframe');
require('aframe-webcentric-component');