sveltejs / svelte-subdivide

A component for building Blender-style layouts in Svelte apps
Other
130 stars 10 forks source link

Update to Svelte 3 #24

Open pbxothi opened 4 years ago

pbxothi commented 4 years ago

Hello Rich,

Thanks for the great framework and also this project. I am wondering if this component will get an update to Svelte 3. I tried it myself but not having a lot of luck -- the dragging seems to work but the containers are overlapping and cause odd layout issues.

If you can give an overview of how you would structure this under Svelte 3, I can try my hand at the implementation and submit a pull request.

Thanks again

zahachtah commented 4 years ago

This is such a useful tool, hope someone with better svelte understanding than me can have a look.

milahu commented 4 years ago

fork: https://github.com/saabi/svelte-subdivide/tree/v3 PR: #23

zahachtah commented 2 years ago

Forgot to reply with a big thanks! This is the backbone of what I am working on and it works great!

Doesn't seem to have been merged yet, but I use my own clone

hotelbuddy-online commented 2 years ago

Can some please tell me how to get this working with v3? I love it and am new to Svelte. Having major confusion :~

hotelbuddy-online commented 2 years ago

Forgot to reply with a big thanks! This is the backbone of what I am working on and it works great!

Doesn't seem to have been merged yet, but I use my own clone

How did you get it to work zahachtah??

milahu commented 2 years ago

how to get this working with v3?

npm install -D github:saabi/svelte-subdivide#v3

https://github.com/saabi/svelte-subdivide/tree/v3#usage