From 9cecc59e3fd8c87b8704d0c7a8121e524ddbb790 Mon Sep 17 00:00:00 2001 From: tofulm Date: Tue, 26 Jan 2021 16:41:39 +0100 Subject: [PATCH] =?UTF-8?q?chargement=20de=20vue=20doit=20etre=20en=20une?= =?UTF-8?q?=20seule=20ligne,=20sinon=20on=20ne=20peut=20pas=20acc=C3=A9der?= =?UTF-8?q?=20app.rechargerJson()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/gamutable.es6.js | 4 +--- js/gamutable.js | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/js/gamutable.es6.js b/js/gamutable.es6.js index 3f91578..da75ac3 100644 --- a/js/gamutable.es6.js +++ b/js/gamutable.es6.js @@ -645,6 +645,4 @@ const gamuTable = { }, }; -let app = Vue.createApp(gamuTable); -app.component('vue-select', window.VueNextSelect); -app.mount('#app'); +let app = Vue.createApp(gamuTable).component('vue-select', window.VueNextSelect).mount('#app'); diff --git a/js/gamutable.js b/js/gamutable.js index 0ed3725..18cca7d 100644 --- a/js/gamutable.js +++ b/js/gamutable.js @@ -624,6 +624,4 @@ var gamuTable = { } } }; -var app = Vue.createApp(gamuTable); -app.component('vue-select', window.VueNextSelect); -app.mount('#app'); \ No newline at end of file +var app = Vue.createApp(gamuTable).component('vue-select', window.VueNextSelect).mount('#app'); \ No newline at end of file