freiksenet / react-kinetic

HTML5 Canvas via KineticJS using React.
http://freiksenet.github.io/react-kinetic/
MIT License
66 stars 7 forks source link

"Uncaught ReferenceError: require is not defined" #2

Closed edwinm closed 10 years ago

edwinm commented 10 years ago

After a git clone and npm install, the example is still not working.

The implementation of require is missing. It's also not clear which implementation is used.

Please provide this.

freiksenet commented 10 years ago

I've added instructions on how to build from source. Note that react-kinetic doesn't yet support any other module systems, but CommonJS. So you need to use webpack or browserify, if you want to use it. I will later add bower distribution that will have UMD module.

freiksenet commented 10 years ago

Closed in favour of #4.