This commit is contained in:
Jeremy Likness 2019-11-26 13:20:47 -08:00
commit 5df4950840
2 changed files with 60 additions and 0 deletions

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2019 Jeremy Likness
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

39
README.md Normal file
View File

@ -0,0 +1,39 @@
# Vanilla.js Deck
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 built -t vanillajs-deck .`
`docker run --rm -d -p 8080:80 vanillajs-deck`
Navigate to `http://localhost:8080/index.html` to start the show.