gajus / swing

A swipeable cards interface. The swipe-left/swipe-right for yes/no input. As seen in apps like Jelly and Tinder.
Other
2.63k stars 247 forks source link

How do I use this with normal Node JS? #108

Closed wahlforss closed 7 years ago

wahlforss commented 7 years ago

I have been trying to use Swing with Node JS, but with no luck. window.swing = require('swing'); is not working with normal Node JS, why is this? What is the window object?

I would prefer not to use Webpack.

Any help would be much appreciated, I'm a complete beginner with Node.

gajus commented 7 years ago

This library is designed to work with webpack.

wahlforss commented 7 years ago

Thank you, how do I change from webpack dev to normal webpack?