From f83fee16df8811430fbb6ed94c64ecdd01744f38 Mon Sep 17 00:00:00 2001
From: 劉鈞霖 <benson@gmail.com>
Date: 星期四, 18 十一月 2021 12:38:33 +0800
Subject: [PATCH] [ Update ] 新增Loading 動畫 ,vue-lottie 套件

---
 PAMapp/nuxt.config.js |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/PAMapp/nuxt.config.js b/PAMapp/nuxt.config.js
index ee4a9dc..d204e9f 100644
--- a/PAMapp/nuxt.config.js
+++ b/PAMapp/nuxt.config.js
@@ -41,6 +41,8 @@
 
   // Auto import components: https://go.nuxtjs.dev/config-components
   components: true,
+  // loading 
+  loading: '~/components/loading.vue',
 
   // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
   buildModules: [
@@ -71,5 +73,8 @@
         document.documentElement.scrollTop = 0;
       }
     }
+  },
+  env: {
+    BASE_URL: 'http://localhost:8080/api'
   }
 }

--
Gitblit v1.8.0