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
Jeremy Likness 0e15d31dd2
Update README.md
Add blog link
2020-02-27 10:45:14 -08:00
.github/workflows Name GitHub action step 2020-01-31 15:46:33 -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 First draft complete! 2020-01-30 14:21:02 -08:00
js Further fixes for relative directory 2020-01-29 14:03:43 -08:00
pwa Add PWA capabilities 2019-12-02 16:18:40 -08:00
slides fix typo on spread slide 2020-02-11 12:57:22 -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
LICENSE Create LICENSE 2019-11-26 13:18:48 -08:00
README.md Update README.md 2020-02-27 10:45:14 -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
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
robots.txt Add PWA capabilities 2019-12-02 16:18:40 -08:00

README.md

Vanilla.js Deck

Build and Deploy Vanilla.js

👀 View the live demo

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

There is a full walkthrough of the code available here:

📄 Build a Single Page Application (SPA) app with Vanilla.js JavaScript

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.