Skip to content
Chris Van edited this page Nov 30, 2015 · 2 revisions

Compatibility Note: A-Frame does not support IE 9 and below.

Standalone

Simply download and include with a <script> tag. aframe will be registered as a global variable.

Pro tip: Don't use the minified version during development. You will miss out all the nice warnings for common mistakes.

Development Version
With full warnings and debug mode

Production Version
Warnings stripped, {{gz_size}}kb min+gzip

CDN

Available on jsdelivr or cdnjs (it takes some time to sync, so the latest version might not be available yet).

npm

npm is the recommended installation method when building scenes with A-Frame. It pairs nicely with a CommonJS module bundler such as Webpack or Browserify. A-Frame also provides accompanying tools for authoring Single-File Components.

# latest stable
$ npm install aframe
# dev build (directly from GitHub):
$ npm install mozvr/aframe#dev

Bower

# latest stable
$ bower install aframe

AMD Module Loaders

The standalone downloads or versions installed via npm/Bower are wrapped with UMD so they can be used directly as an AMD module.

Clone this wiki locally