A Vanilla.js Single Page App (SPA) slide deck for a presentation about Vanilla.js written with no frameworks. blog.jeremylikness.com/series/vanilla.js/
Go to file
2020-01-29 13:54:59 -08:00
.github/workflows updates for relative url 2020-01-29 13:54:59 -08:00
appicons Add PWA capabilities 2019-12-02 16:18:40 -08:00
css moar slides, disable localhost pwa cache 2020-01-28 10:23:02 -08:00
images moar slides, disable localhost pwa cache 2020-01-28 10:23:02 -08:00
js Tweak web component, add new slide, code fixes 2019-12-02 15:18:17 -08:00
pwa Add PWA capabilities 2019-12-02 16:18:40 -08:00
slides updates for relative url 2020-01-29 13:54:59 -08:00
templates Add controls and SPA routing 2019-11-22 16:37:45 -08:00
videos add slides, "appear" effect, video, image hover, update notes 2019-11-25 15:20:12 -08:00
.gitignore gitignore 2020-01-29 13:35:58 -08:00
Dockerfile Fix dockerfile for PWA and update readme 2020-01-29 12:19:12 -08:00
favicon.ico Add PWA capabilities 2019-12-02 16:18:40 -08:00
index.html updates for relative url 2020-01-29 13:54:59 -08:00
LICENSE Create LICENSE 2019-11-26 13:18:48 -08:00
manifest.json updates for relative url 2020-01-29 13:54:59 -08:00
pwa.js What's new with js 2020-01-28 13:41:29 -08:00
README.md update badge 2020-01-29 13:10:30 -08:00
robots.txt Add PWA capabilities 2019-12-02 16:18:40 -08:00

Vanilla.js Deck

Build and Deploy Vanilla.js

A Vanilla.js Single Page App (SPA) slide deck for a presentation about Vanilla.js. Yes, this is inception! No builds (unless you count the included Docker image) and no frameworks, just pure JavaScript for a SPA application that features:

  • Routing (yes, you can bookmark/return to a slide)
  • Transitions
  • Reusable components
  • Data-binding

Getting Started

Optionally fork then clone the repo:

git clone https://github.com/JeremyLikness/vanillajs-deck.git

Spin up your favorite web server and point it to the root directory. There are no builds involved.

One simple approach is to use Node.js and http-server:

npm i -g http-server

cd vanillajs-deck

http-server .

Navigate to one of the URLs with index.html as the path.

Docker setup

If you prefer, you can build a Docker image and run the presentation from there.

cd vanillajs-deck

docker build -t vanillajs-deck .

docker run --rm -d -p 8080:80 vanillajs-deck

Navigate to http://localhost:8080/index.html to start the show.