ember-cli-aframe
This ember addon wraps A-Frame, a WebVR framework that uses HTML markup combined with THREE.js to render 3d scenes viewable in a browser or in a VR headset. It also includes some ember components that wrap various a-frame elements.
Installation
Run this command in a ember-cli application
ember install ember-cli-aframe
This will handle adding thea-frame
bower package to the consuming ember-cli application and making sure it's included in the vendor.js file.
Running
Since ember-cli-aframe is an ember addon, you should install the addon into an existing ember-cli application. To run the dummy app which includes the Hello World a-frame example using the ember components:
ember server
- and go to http://localhost:4200.
Basic Usage
This addon includes ember components which are thin wrappers around a-frame components. To see the components in action, head on over to the Demo Page. You can also use the standard a-frame html syntax since this addon imports the a-frame library.
Running Tests
npm test
(Runsember try:testall
to test your addon against multiple Ember versions)ember test
ember test --server
Building
ember build
For more information on using ember-cli, visit http://ember-cli.com/.