Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.35 KB

File metadata and controls

35 lines (22 loc) · 1.35 KB

Zappar for AFrame

Standalone Bootstrap Project

In this project you'll find the following files that get you up and running with Zappar for A-Frame.

  • index.html: contains the basic structure of you page and any necessary HTML UI elements
  • index.js: contains the code the sets up your A-Frame scene and AR experience

Head to the NPM package page for more information on how to build best-in-class AR experiences: Zappar for A-Frame (@zappar/zappar-aframe)

Preview

Scan the QR code below using your native camera app or QR code reader to view the example: ​ Preview QR Code"

Local Preview and Testing

Due to browser restrictions surrounding use of the camera, you must use HTTPS to view or preview your site, even if doing so locally from your computer. If you're using webpack, consider using webpack serve which has an https option to enable this.

Alternatively you can use the ZapWorks command-line tool to serve a folder over HTTPS for access on your local computer, like this:

zapworks serve .

The command also lets you serve the folder for access by other devices on your local network, like this:

zapworks serve . --lan

Target Image

Target Image