-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Compatibility Note: A-Frame does not support IE 9 and below.
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
Available on jsdelivr or cdnjs (it takes some time to sync, so the latest version might not be available yet).
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
# latest stable
$ bower install aframe
The standalone downloads or versions installed via npm/Bower are wrapped with UMD so they can be used directly as an AMD module.