This repository is a template for projects using A-Frame, Vue.js and the ARC System.
It ships the ARCS corporate identity design and basic components such as:
- Remote controls connection button next to the "enter VR" button
- A modal for connecting to the remote control device
- A camera rig that handles movement and cursor interaction
- Remote control interfaces for desktops and handheld touchscreen devices
Click the "Use this template" button above, click here to generate a GitHub repository, or perform these steps:
git clone https://github.com/arcs-vr/arc-vue-template [project_name]
cd [project_name]
git remote set-url origin https://github.com/[USERNAME]/[REPOSITORY].git
Edit the file located at src/arc-config.js
and enter a unique app name, and the connection to your MQTT broker.
Use the predefined scripts:
# WebPack's dev-server
yarn dev-server
# Dev build
yarn dev
# Automatic dev build
yarn watch
Add all assets into the component defined at src/vue/Assets.vue
. The splash screen will display until all assets are loaded.
Add all A-Frame related Vue components to the component defined at src/vue/App.vue
.
I suggest putting A-Frame components into the src/aframe
directory.
Build the project:
yarn build
Then deploy everything inside the public
directory:
rsync -r --progress --stats -h --delete -a $PWD/public/* [user]@[host]:/var/www/[project-docroot]/
- Barthélémy Bonhomme, @barthy-koeln: [email protected]