From 93f1d74a44828f528983af2ffab838d3e31dcabc Mon Sep 17 00:00:00 2001 From: Kittapath Date: Tue, 30 May 2023 10:06:40 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=20call=20api=20erro?= =?UTF-8?q?r?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entrypoint.sh | 2 - src/components/NotifyError.vue | 79 ++++++ src/components/TableView.vue | 457 +++++++++++++++++++++++++++++++++ src/main.ts | 8 + 4 files changed, 544 insertions(+), 2 deletions(-) create mode 100644 src/components/NotifyError.vue create mode 100644 src/components/TableView.vue diff --git a/entrypoint.sh b/entrypoint.sh index 46f096e..38b8d06 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -12,7 +12,5 @@ do done - - echo "Starting Nginx" nginx -g 'daemon off;' diff --git a/src/components/NotifyError.vue b/src/components/NotifyError.vue new file mode 100644 index 0000000..64f3069 --- /dev/null +++ b/src/components/NotifyError.vue @@ -0,0 +1,79 @@ + + + diff --git a/src/components/TableView.vue b/src/components/TableView.vue new file mode 100644 index 0000000..53d363c --- /dev/null +++ b/src/components/TableView.vue @@ -0,0 +1,457 @@ + + + diff --git a/src/main.ts b/src/main.ts index 1c6ac0e..27e8ef4 100644 --- a/src/main.ts +++ b/src/main.ts @@ -36,6 +36,14 @@ app.use( // quasarUserOptions ) +app.component( + 'data-table', + defineAsyncComponent(() => import('./components/TableView.vue')) +) +app.component( + 'notifyError', + defineAsyncComponent(() => import('./components/NotifyError.vue')) +) app.component( 'datepicker', defineAsyncComponent(() => import('@vuepic/vue-datepicker'))