summaryrefslogtreecommitdiff
path: root/src/router
diff options
context:
space:
mode:
authorYoshie Muranaka <yoshiemuranaka@gmail.com>2020-10-16 17:58:06 +0300
committerYoshie Muranaka <yoshiemuranaka@gmail.com>2020-10-19 18:39:09 +0300
commit8263d85c4f97cbf22639054412ea0323251de0f7 (patch)
tree3021fa4607858cc9e3e8c1a7fad39d00b2e8cd01 /src/router
parent61859097d8a129de1d8292f3ebde5e9228d82838 (diff)
downloadwebui-vue-8263d85c4f97cbf22639054412ea0323251de0f7.tar.xz
Add comments for imports that support dotenv
We have set up exact match resolve aliases to support different dotenv build customizations. Added comments to the imports that should not be changed. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ie371b42ec35f876ccb89ef976f7126d5234a1b47
Diffstat (limited to 'src/router')
-rw-r--r--src/router/index.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/router/index.js b/src/router/index.js
index 6db80b70..ce792cb7 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -1,7 +1,11 @@
import Vue from 'vue';
import VueRouter from 'vue-router';
-import store from '../store';
+
+//Do not change store or routes import.
+//Exact match alias set to support
+//dotenv customizations.
import routes from './routes';
+import store from '../store';
Vue.use(VueRouter);