summaryrefslogtreecommitdiff
path: root/src/router
diff options
context:
space:
mode:
authorDixsie Wolmers <dixsie@ibm.com>2020-10-20 18:52:56 +0300
committerDixsie Wolmers <dixsie@ibm.com>2020-10-20 18:52:56 +0300
commit0a5b9c6dcd063144896dbdc42f24c681b8b9267c (patch)
tree7cc341a88454175993bc83933938321e752c807a /src/router
parent8263d85c4f97cbf22639054412ea0323251de0f7 (diff)
downloadwebui-vue-0a5b9c6dcd063144896dbdc42f24c681b8b9267c.tar.xz
Fix imports on router index
UI failed to load when routes were imported before store in router index. Store should be imported before routes for UI to load correctly. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I1ba02cf567babc67c7a5b1c5148d49ae19108faa
Diffstat (limited to 'src/router')
-rw-r--r--src/router/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/router/index.js b/src/router/index.js
index ce792cb7..3f447de3 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -4,8 +4,8 @@ import VueRouter from 'vue-router';
//Do not change store or routes import.
//Exact match alias set to support
//dotenv customizations.
-import routes from './routes';
import store from '../store';
+import routes from './routes';
Vue.use(VueRouter);