Skip to content

ppirrip/vuejs-snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vuejs-snake

Now this snake is available on firebase at https://mqtt-snake.firebaseapp.com/. You can also control via PS4 Dualshock controller attached to the MQTT broker (e.g. Adafruit.io) via pygame. See ps4_controller.py as an example.

Updated codepen example is here

A Vue.js project (MQTT/Adafruit.io not enabled)

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

For a detailed explanation on how things work, check out the guide and docs for vue-loader.