aframe-foo-component

A Foo component for A-Frame.

Usage no npm install needed!

<script type="module">
  import aframeFooComponent from 'https://cdn.skypack.dev/aframe-foo-component';
</script>

README

aframe-foo-component

Version License

A Foo component for A-Frame.

For A-Frame.

API

Property Description Default 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-foo-component@1.0.0/dist/aframe-foo-component.min.js"></script>
</head>

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

npm

Install via npm:

npm install aframe-foo-component

Then require and use.

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