Comments (8)
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.
Using with Vite, breaks too
from vue-simple-acl.
Using with Vite, breaks too
Any solution so far?
from vue-simple-acl.
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.
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.
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.
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.
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)
- Feature request
- SSR support HOT 2
- Permissions as an array of abilities doesn't work properly HOT 1
- `.disable` modifier not applying to some components
- Change rules after initial setup
- typing error in composition api for $can HOT 1
- can not send parameter in script HOT 1
- beforeEach is not triggering when there is a route change.
- Difference between v-role and v-permission
- VueRouter meta evaluation by providing a callback that returns a promise doesn't work as expected
- Directives are not working HOT 1
- How to use pinia store ? HOT 3
- Buggy and abandoned HOT 2
- ReferenceError: Vue is not defined HOT 3
- Page Reload Issue HOT 1
- Error when try to build with this plugin HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-simple-acl.