taye / interact.js

JavaScript drag and drop, resizing and multi-touch gestures with inertia and snapping for modern browsers (and also IE9+)
http://interactjs.io/
MIT License
12.38k stars 785 forks source link

Example files buggered #678

Closed stevehomer closed 5 years ago

stevehomer commented 5 years ago

Forgive me but completely crap here (Git).

I zip downloaded interact just to have a further look at some examples.

Unfortunately all the examples seem to have:

but there is no dist folder. I may be being 100% stupid here but I have downloaded a myriad bits and bobs and not had this problem before.

It does look lovely however.

ATB Steve

taye commented 5 years ago

Hi Steve. Sorry for the late reply.

You need to have node installed and inside the repo directory, run:

npm run bootstrap; npm run build
stevehomer commented 5 years ago

Taye hi

Sorry not using node (nor composer, nor ... too many other things trying to get reasonable at!).

I have downloaded many things from GIT and not had a problem with zips. Normally u just download etc.

Ah well good luck with the project.

EDIT: Well copied contents from https://cdn.jsdelivr.net/npm/interactjs@1.3/dist/interact.min.js into a file created a dist file and popped it in and bob's your uncle!