Skip to content

alexrkass/aframe-no-click-look-controls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aframe-component-boilerplate

Boilerplate for creating and sharing A-Frame VR components.

Note this refers to A-Frame components of the entity-component system, and not Web Components.

The boilerplate comes with a stub component, test suite, examples infrastructure with Github pages, and stubbed README, which begins below.

A path to using the boilerplate:

  • Rename all instances of example and Example to your component name.
  • Write your component.
  • Write your unit tests.
  • Build examples.
  • Clean up this README.
  • Publish to NPM (npm publish).
  • Publish examples to Github pages (npm run ghpages).
  • Share your component on Slack and awesome-aframe!

Example usage of the boilerplate:

aframe-example-component

An example component for A-Frame VR.

Usage

Install.

npm install aframe-example-component

Register.

var exampleComponent = require('aframe-example-component').component;
require('aframe-core').registerComponent('example', exampleComponent);

Use.

<a-scene>
  <a-entity example="exampleProp: exampleVal"></a-entity>
</a-scene>
Property Description Default Value

About

Intuitive controls for desktop A-frame experiences

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published