An open API service indexing awesome lists of open source software.

https://github.com/fourkitchens/aframe-boilerplate

Very simple take on how A-Frame applications should be structured. 👓 😲
https://github.com/fourkitchens/aframe-boilerplate

aframe react webvr

Last synced: about 1 year ago
JSON representation

Very simple take on how A-Frame applications should be structured. 👓 😲

Awesome Lists containing this project

README

          

# A-Frame Boilerplate
This repository contains a boilerplate A-Frame project. It contains example implementations of [A-Frame](https://aframe.io/), [React](https://facebook.github.io/react/), and an [A-Frame-React](https://github.com/ngokevin/aframe-react) library, which exposes A-Frame components as a React component.

## Requirements
* Node.js (see .nvmrc for correct version).
* Yarn

## Setup
* Clone this repository.
* In this repository's root folder, run `yarn`.
* Run `yarn start` to start the WebVR app dev server.

## Coding standards
This project uses Eslint, configured to use AirBnb's standard set. To lint code in this project, run `yarn lint`. This project also uses Prettier, which will format your code according to the Prettier standard. As enforced by Husky, you cannot commit code that does not fit the defined standard.

## Developing in Google Daydream
The development server in this project is set up so that it can be accessed by any device on your local network. That's why you access your development instance from your local IP instead of just `localhost`.

Before you get started, navigate to `chrome://flags` in Chrome on your phone. Then, enable the WebVR and Gamepad API flags, and restart Chrome.

After doing this, start your dev server (`yarn start`) and navigate to the non-local IP address given in the output.