victorybiz / vue-simple-acl

A simple unopinionated Vue plugin for managing user roles and permissions, access-control list (ACL) and role-based access control (RBAC).
https://github.com/victorybiz/vue-simple-acl
131 stars 24 forks source link

ReferenceError: Vue is not defined #7

Closed paramov closed 2 years ago

paramov commented 2 years ago

Can you help me?

IssamJow commented 2 years ago

I have the same Problem, did you figure it out?

victorybiz commented 2 years ago

@IssamJow I haven't had time to look into this, please use this to solve this issue for now:

import { createAcl, defineAclRules } from 'vue-simple-acl/src';
oliverkan commented 2 years ago

@victorybiz is there any solution to this problem? I tried to import your plugin into Vue3 (version 3.2.37) but import { createAcl, defineAclRules } from 'vue-simple-acl/src'; solution didn't work. Can you help us to fix this problem please? This a nice library and it would be nice to keep it updated.