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

Demo not working #115

Open 44db opened 7 years ago

44db commented 7 years ago

Hi, It looks like the demo URL is unresponsive. In addition, I'm unable to compile the project locally. How do I produce bundle.js? Thanks

kubenstein commented 6 years ago

For me local demo works fine, i followed steps from readme:

git clone git@github.com:gajus/swing.git
cd ./swing/examples
npm install
npm start

then went to http://localhost:8080/card-stack/

I wasnt able to run the project locally in a first place because i had other webpack-dev-server opened already. bundle.js url in examples is hardcoded to port 8080, so make sure the demo webpack is the only dev server otherwise it will be assigned to, for example, 8081. Maybe you had similar issue?

Zeitvertreib commented 6 years ago

git clone https://github.com/gajus/swing.git cd ./swing/examples npm install npm start

events.js:165 throw er; // Unhandled 'error' event ^

..doenst run

mesqueeb commented 5 years ago

I'd love a demo that's hosted online, so I can open it on my phone and try it out!

All the demo's are linking to a page that's currently not hosting them anymore. : (

Hosting yourself is quite difficult on the phone.