An open API service indexing awesome lists of open source software.

https://github.com/alanbsmith/handlebars-ajax-example

a simple example for using ajax with handlebars templates
https://github.com/alanbsmith/handlebars-ajax-example

Last synced: 10 months ago
JSON representation

a simple example for using ajax with handlebars templates

Awesome Lists containing this project

README

          

# Handlebars Example
A small, example app for using Handlebars templates with Node/Express and Webpack

### UP & RUNNING
```
npm install
```
```
npm start
```
```
open http://localhost:8080/
```

### WHAT IS HAPPENING??
The rendering logic lives in `src/index.js`. When the document content is loaded, it makes the AJAX call to get the API data, passes it to the appropriate template, and appends it to the corresponding `div` element.