Alex-DG / immersal-8thwall-template

Minimal reusable template project using Immersal AR and 8th Wall with Three.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prototype: Immersal AR + 8thWall Template

Description

  • Minimal reusable template project using Immersal AR and 8th Wall with Three.js

Demos

Setup

  1. Create a new file .env.local in the project root and add inside your 8th Wall key, Immersal developer token and a map id , such as:
VITE_8THWALL_APP_KEY=xxxxxxxxxxxxxxxxxxxxxxxxx
VITE_IMMERSAL_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxx
VITE_MAP_ID=xxxxx
  1. In your 8th Wall project: do not forget to add your local ip address in the list of authorized domains within your 8th Wall Project in Hosting > Edit > add your local ip address

  2. Run the following commands:

# Install dependencies (only the first time)
yarn

# Run the local server
yarn dev

# Build for production in the dist/ directory
yarn build

About

Minimal reusable template project using Immersal AR and 8th Wall with Three.js


Languages

Language:JavaScript 86.2%Language:CSS 8.9%Language:HTML 4.9%