项目作者: rahulranjan14

项目描述 :
Tried React 360 for the first time.
高级语言: JavaScript
项目地址: git://github.com/rahulranjan14/projectReact360.git
创建时间: 2020-10-24T15:16:54Z
项目社区:https://github.com/rahulranjan14/projectReact360

开源协议:

下载


projectReact360

Demo - https://www.linkedin.com/posts/rahulranjan14_react360-reactvr-reactjs-activity-6725800197684834305-RrKh

To run this app on local machine

  1. clone the repository

git clone https://github.com/rahulranjan14/projectReact360.git

  1. now navigate to the root directory and run

npm install

  1. in case if it gets stuck run

npm install —verbose

  1. again

npm install

  1. now

npm start

  1. if there is an error like
  1. Invalid regular expression: /(node_modules[\\\]react[\\\]dist[\\\].*|website\\node_modules\\.*|heapCapture\\bundle\.js|.*\\__tests__\\.*)$/: Unterminated character
  2. class

then, navigate to /node_modules/metro-bundler/src/blacklist.js

replace this :

  1. var sharedBlacklist = [
  2. /node_modules[/\\]react[/\\]dist[/\\].*/,
  3. /website\/node_modules\/.*/,
  4. /heapCapture\/bundle\.js/,
  5. /.*\/__tests__\/.*/
  6. ];

with this :

  1. var sharedBlacklist = [
  2. /node_modules[\/\\]react[\/\\]dist[\/\\].*/,
  3. /website\/node_modules\/.*/,
  4. /heapCapture\/bundle\.js/,
  5. /.*\/__tests__\/.*/
  6. ];
  1. now run

npm start

  1. open browser at http://localhost:8081/vr/