7 Star 0 Fork 0

PKPM / vue-qrcode

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

vue-qrcode

使用vue cli 3 封装的qrcode组件

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

How to use

install

npm install --save @aecworks/vue-qrcode

Generate a qr code

<template>
    <div id="app">
        <span>这是使用二维码组件的example</span>
        <qriously :value="qrCodeContent"></qriously>
    </div>
</template>

<script>
    import Qriously from '@aecworks/vue-qrcode';

    export default {
        name: 'app',
        data() {
            return {
                qrCodeContent:
                    'http://www.aecworks.cn',
            };
        },
        components: {
            Qriously,
        },
    };
</script>

<style>
    #app {
        text-align: center;
        }
</style>

Keywords

vue-qrcode

Comments ( 0 )

Sign in for post a comment

About

No description spread retract
TypeScript and 3 more languages
Cancel

Releases

No release

Contributors

All

Activities

load more
can not load any more
TypeScript
1
https://gitee.com/aecworks/vue-qrcode.git
git@gitee.com:aecworks/vue-qrcode.git
aecworks
vue-qrcode
vue-qrcode
master

Search