Git Product home page Git Product logo

Comments (6)

madebyfabian avatar madebyfabian commented on September 24, 2024 4

Hey there,
thanks for writing this muuri vue wrapper! Wanted to use it in my vue3 project, and stumbled on a few problems. Maybe this will help to create a PR with the required changes:

  • In src/index.js, there is this line:

    import Vuuri from './Vuuri';
    which will not work, since vite is not allowing .vue files to import without extension -> easy to solve, just add '.vue'.

  • Then, when I want to use the component, it errors
    SyntaxError: The requested module '/node_modules/lodash/lodash.js?v=ac9922ab' does not provide an export named 'debounce'. Seems like lodash isn't exporting anything. Can't solve this bug right now

  • Since in vue3, the v-model's default prop name is not value, but modelValue, this has to be changed. Also the event 'input' is now update:modelValue -> easy to solve.

That's not all, but maybe it helps. Unfortunately I don't have time to create a PR with all required changes at the moment.

from vuuri.

dannyYassine avatar dannyYassine commented on September 24, 2024 2

Thanks for feedback!

I've started porting the library to vue3 with the composition syntax here: https://github.com/dannyYassine/vuuri/tree/next-vue3

Ill keep this thread up-to-date. Thanks!

from vuuri.

madebyfabian avatar madebyfabian commented on September 24, 2024 1

@dannyYassine Thank you for your work! 😊

from vuuri.

electroheadfx avatar electroheadfx commented on September 24, 2024

Hello, any update of this great library for Vue 3 ?

from vuuri.

valentinwinkelmann avatar valentinwinkelmann commented on September 24, 2024

Would be great if there was an update, VUE3 support would be awesome!

from vuuri.

dannyYassine avatar dannyYassine commented on September 24, 2024

Hi all,

vuuri is now compatible with vue-3 on version 0.4.0 on npm.

Thanks for your patience and help!

from vuuri.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.