From d9344d9c285e0433b8449a110ab87f7268569e57 Mon Sep 17 00:00:00 2001 From: Bubka <858858+Bubka@users.noreply.github.com> Date: Sun, 5 Jan 2020 21:07:49 +0100 Subject: [PATCH] qrcode button with icon --- resources/js/app.js | 2 ++ resources/js/views/Create.vue | 25 ++++++++++--------------- 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/resources/js/app.js b/resources/js/app.js index aaf751fa..65e4847a 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -12,9 +12,11 @@ import Edit from './views/Edit' import { library } from '@fortawesome/fontawesome-svg-core' import { faPlusCircle } from '@fortawesome/free-solid-svg-icons' +import { faQrcode } from '@fortawesome/free-solid-svg-icons' import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome' library.add(faPlusCircle); +library.add(faQrcode); Vue.component('font-awesome-icon', FontAwesomeIcon) diff --git a/resources/js/views/Create.vue b/resources/js/views/Create.vue index a4b8043e..9c761fbc 100644 --- a/resources/js/views/Create.vue +++ b/resources/js/views/Create.vue @@ -9,22 +9,17 @@