Skip to content

Template repository for an A-Frame, ARCS & Vue.js project

License

Notifications You must be signed in to change notification settings

arcs-vr/arc-aframe-vue-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARCS & Vue.js Project Template

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

Installation

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

Configuration

Edit the file located at src/arc-config.js and enter a unique app name, and the connection to your MQTT broker.

Development

Use the predefined scripts:

# WebPack's dev-server
yarn dev-server

# Dev build
yarn dev

# Automatic dev build
yarn watch

Assets

Add all assets into the component defined at src/vue/Assets.vue. The splash screen will display until all assets are loaded.

A-Frame

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.

Deployment

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]/

Authors and contributors

Attributions

About

Template repository for an A-Frame, ARCS & Vue.js project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published