mind-ar-js-react
mind-ar-js-react copied to clipboard
Example of using MindAR in React
React example with MindAR
This is an example project of using MindAR in React
The react components are:
src/mindar-viewer(AFRAME version), andsrc/mindar-three-viewer(ThreeJS version).
Everything else are created from create-react-app, and they are irrelevant.
Screenshot
![]() |
|---|
It demonstrates:
- how to import MindAR as a npm package
- how to create a React component for MindAR
To run
> npm install
> npm run start
OR for HTTPS (so you can test on mobile devices connected in local network)
> npm run start-https
