Giter Club home page Giter Club logo

Comments (8)

clabnet avatar clabnet commented on September 26, 2024 5

I have fixed my new npm package @clabnet/vue-simple-acl with HMR running fine. I had to completely override the build mode, it was tough but it seems to work. Try it if you can and give me your feedback, please.

from vue-simple-acl.

zenojunior avatar zenojunior commented on September 26, 2024 2

Using with Vite, breaks too

from vue-simple-acl.

Nymrinae avatar Nymrinae commented on September 26, 2024 1

Using with Vite, breaks too

Any solution so far?

from vue-simple-acl.

Tob0t avatar Tob0t commented on September 26, 2024 1

Thanks @clabnet for your package, I also switched to your library now due to missing HMR.
Could you maybe also push your changes to github so we know which part of the source code differs from the actual package?

from vue-simple-acl.

clabnet avatar clabnet commented on September 26, 2024

Also for me, same issue using Vite Vue3.
HMR is not available when using this as plugin.
Here a repo showcase

I have also created a new npm package @clabnet/vue-simple-acl
with all packages updated to vite 4.x, but the problem is the same, HMR is breaks.

@pnwnelson @zenojunior @Nymrinae Have you notice ? The author @victorybiz seems do not respond a long time ago.

from vue-simple-acl.

Nymrinae avatar Nymrinae commented on September 26, 2024

Have you notice ? The author @victorybiz seems do not respond a long time ago.

Yeah, the fact that it breaks HMR is a huge issue for me, I consider swapping to CASL instead but didn't try yet if it doesn't break it as well, I hope not.

from vue-simple-acl.

Nymrinae avatar Nymrinae commented on September 26, 2024

I have fixed my new npm package @clabnet/vue-simple-acl with HMR running fine. I had to completely override the build mode, it was tough but it seems to work. Try it if you can and give me your feedback, please.

Works fine for me, thanks a lot!!

from vue-simple-acl.

psarin avatar psarin commented on September 26, 2024

Same issure here. However, in using @clabnet version, I get an error saying Module not found: Error: Can't resolve './utils' in '/node_modules/@clabnet/vue-simple-acl/dist' because origin is strict.

from vue-simple-acl.

Related Issues (17)

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.