Giter Club home page Giter Club logo

shadowland-vr's Introduction

A-Frame-React-Transform-Boilerplate

React Transform Boilerplate

♨️ Hot-swap A-Frame React components in place without browser refresh ‼️

see react-transform-boilerplate

Like this, but in VR!

react-transform-boilerplate

Demo: http://meta-meta.github.io/aframe-react-transform-boilerplate/

Installation

git clone https://github.com/meta-meta/aframe-react-transform-boilerplate.git my-aframe-react-project
cd my-aframe-react-project
git submodule update --init
cd aframe
npm install
cd ..
cd aframe-react
npm install
cd ..
npm install
npm start
open http://localhost:8080

📱 Mobile pro tip: Upon starting the development server, the URL will be logged to the console. Load that URL from a browser on your mobile device. (If your mobile phone and computer are not on the same LAN, consider using ngrok for local development and testing. Browsersync is also worth a gander.)

A-Frame

Registering Third-party A-Frame components

With Webpack's ES6 module syntax:

import {aframeCore} from 'aframe';
import exampleComponent from 'aframe-example-component';
aframeCore.registerComponent('example', exampleComponent.component);

🌐 Publishing to GitHub Pages

Update package.json with the url for your repo:

  "repository": "https://github.com/my-github-username/my-repo.git"

Run:

npm run ghpages

shadowland-vr's People

Contributors

arve0 avatar chentsulin avatar clessg avatar clkao avatar cvan avatar danmartinez-mw avatar gaearon avatar hugooliveirad avatar ianmcnally avatar jamiebuilds avatar joearasin avatar justingreenberg avatar meta-meta avatar n1ghtmare avatar rf- avatar ryanwholey avatar tylerhellner avatar zillding avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

williamlfish

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.