Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.dockerignore
.editorconfig
.gitignore
Dockerfile
README.md
package-lock.json
package.json
preact.config.js
screen.png

README.md

Preact pixel demo

A super mario by preact

Dev

git clone https://github.com/linychuo/preact-pixel.git
preact watch

Check it out, http://localhost:8080

pixel by preact

Deploy by docker

  1. build image, run following command after clone this repository
docker build -t preact-pixel .
  1. run image
docker run -p 8080:8080 preact-pixel