Skip to content

Instantly share code, notes, and snippets.

@samuelayo
Created February 4, 2019 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samuelayo/6f852259fd68239e5a4775c04696af9f to your computer and use it in GitHub Desktop.
Save samuelayo/6f852259fd68239e5a4775c04696af9f to your computer and use it in GitHub Desktop.
require('!style-loader!css-loader!./styles.css');
let $ = require('jquery');
let books = require('./books.js');
$.each(books, function(key, value){
$('body').append("<h1>"+ books[key].name +"</h1>");
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment