hadijaveed / reactive-handlebars

A miniature library to update handlebars templates reactively.
7 stars 3 forks source link

Nothing exported? #1

Open drone1 opened 4 years ago

drone1 commented 4 years ago

Thanks for the nice code here.

I installed via npm i --save reactive-handlebars and noticed that importing/requiring the package results in an empty object. It looks like you might need to do:

module.exports = ReactiveHbs or export default ReactiveHbs at the end of src/reactive-handlebars.js.

drone1 commented 4 years ago

Looks like it doesn't load jquery or handlebars or lodash via NPM install either. :)

hadijaveed commented 4 years ago

@drone1 yes I agree. Thanks for your feedback Happy to make those modifications in a day or two. Also, feel free to open a PR in-case you want to make some modifications