vue-acl icon indicating copy to clipboard operation
vue-acl copied to clipboard

Quasar and vue-acl bump

Open mfr24 opened this issue 4 years ago • 0 comments

my boot file: `// boot/acl

import { AclInstaller, AclCreate, AclRule } from 'vue-acl'

export default async ({ router, Vue }) => { Vue.use(AclInstaller)

const myAcls = new AclCreate({ initial: 'admin',

notfound: {
  path: '/error',
  forwardQueryParams: true
},
router,
acceptLocalRules: true,
globalRules: {
  isAdmin: new AclRule('admin').generate(),
  isPublic: new AclRule('public').or('admin').generate(),
  isLogged: new AclRule('user').and('inside').generate()
},
middleware: async acl => {
  // await clearTimeout(2000) // call your api
  acl.change('public')
}

})

return myAcls }`

crashes with [Quasar] boot error: ReferenceError: regeneratorRuntime is not defined register mixin.js:29 register mixin.js:104 _install install.js:19 AclCreate index.js:34 _ref acl.js:31 Babel 4 default acl.js:6 _start client-entry.js:86 Babel 6 _start app.js:1168 start app.js:1116 js client-entry.js:131 Webpack 7

mfr24 avatar Oct 23 '20 16:10 mfr24