Giter Site home page Giter Site logo

lyuji282 / aframe-next-static Goto Github PK

View Code? Open in Web Editor NEW

This project forked from michaltakac/aframe-next-static

0.0 1.0 0.0 245 KB

Build WebVR apps with React and serve them as static site on Zeit's Now!

Home Page: https://aframe-next-static.now.sh

License: MIT License

JavaScript 100.00%

aframe-next-static's Introduction

Aframe-next-static

Deploy to now

This boilerplate leverages extremely simple deployment flow from Zeit's Now, now available for WebVR with A-Frame and React!

Libraries

Installation

To get started:

npm install # or yarn install
npm run dev

Development server now lives at http://localhost:3000.

This project uses static exporting feature from Next.js. If you wan't to build a Multiverse of multiple "pages" or "routes" (or should I say worlds?) and navigate through them, you need to provide a map of the routes in next.config.js. Read more info here.

Note: Next.js is universal, which means it executes code first server-side, then client-side. The window object is only present client-side, so if you absolutely need to have access to it in some React component, you should put that code in componentDidMount. Check the /pages/index.js how we're doing it right now. You can load A-Frame-specific librabries like that. More info here.

Deploy with ▲Now:

npm run deploy

aframe-next-static's People

Contributors

eliastouil avatar michaltakac avatar

Watchers

 avatar

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.