import {
XRKIT,
} from 'https://cdn.jsdelivr.net/npm/@mitchallen/[email protected]/dist/three-xr-kit.modern.js'
See the repo examples folder.
To see live demos using this package, browse to:
If you browse to this site in your VR headset you can click the Enter VR button.
This code has been tested on:
- Oculus Go
- Oculus Quest 2
To publish your version of the package you must first setup an account and project in NPM.
This will boost the version number, push and publish:
git add .
git commit -m "updated code"
npm run pub:patch
As an alternative:
git add .
git commit -m "updated code"
npm version patch -m "Upgrade to %s for reasons"