react-home-ar
TypeScript icon, indicating that this package has built-in type declarations

0.5.103 • Public • Published

react-home-ar

Home AR

In a project, to get started call the following in the index.tsx

// Get upload and segment URLs from env vars (defined in .env.*)
cbInitialize({
    directUploadUrl: process.env.REACT_APP_CB_DIRECT_UPLOAD_URL,
    getUploadUrlsUrl: process.env.REACT_APP_CB_GET_UPLOAD_URLS_URL,
    uploadUrl: process.env.REACT_APP_CB_UPLOAD_URL,
    segmentUrl: process.env.REACT_APP_CB_SEGMENT_URL
})

To update, this will auto increment the version number and publish to npm

npm publish

MAC OSX fsevents issues:

https://stackoverflow.com/questions/46929196/how-to-solve-npm-install-throwing-fsevents-warning-on-non-mac-os

from project root:

rm -rf node_modules
sudo npm cache clean --force 
sudo npm uninstall 
sudo npm install git+https://git@github.com/CambrianTech/react-three-fiber.git --no-optional
npm install

Building opencv:

This project contains a configuration file for opencv with the specifically required functions opencv_js.config.py. To rebuild the opencv javascript dependency opencv.js included with this project (includes/opencv.js) run the following:

python [OPENCV_PATH]/platforms/js/build_js.py build_js --config opencv_js.config.py

Readme

Keywords

none

Package Sidebar

Install

npm i react-home-ar

Homepage

cambrian.io

Weekly Downloads

1,712

Version

0.5.103

License

ISC

Unpacked Size

13.2 MB

Total Files

106

Last publish

Collaborators

  • cambrian