1.0.16 • Published 4 years ago

@sofiakb/vue2-pwa-access-key v1.0.16

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

Contributors Forks Stargazers Issues MIT License

comment: <> (LinkedIn)

About The Library

Une bibliothèque qui permet de contrôler l'accès à mes applications PWA. Elle comporte :

Built With

Prerequisites

  • node.js
  • vue 2

Installation

npm install @sofiakb/vue2-pwa-access-key

Usage

Dans le fichier routes.js

import { AccessScanner, AccessKeyMiddleware } from '@sofiakb/vue2-pwa-access-key'

Router.group({ beforeEnter: AccessKeyMiddleware }, () => {
	// routes à protéger	
})

Router.view('/access/scanner', AccessScanner).name('access.scanner')

Dans le fichier index.html

<script type="text/javascript" src="/path/to/root/static/@sofiakb/vue2-pwa-access-key/js/jsqr/jsqrscanner.nocache.js"></script>
<script type="text/javascript" src="/path/to/root/static/@sofiakb/vue2-pwa-access-key/js/jsqr-loaded.js"></script>

Roadmap

See the open issues for a list of proposed features (and known issues).

License

Distributed under the MIT License. See LICENSE for more information.

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago