diff options
author | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2020-10-16 17:58:06 +0300 |
---|---|---|
committer | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2020-10-19 18:39:09 +0300 |
commit | 8263d85c4f97cbf22639054412ea0323251de0f7 (patch) | |
tree | 3021fa4607858cc9e3e8c1a7fad39d00b2e8cd01 | |
parent | 61859097d8a129de1d8292f3ebde5e9228d82838 (diff) | |
download | webui-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
-rw-r--r-- | src/components/AppNavigation/AppNavigation.vue | 3 | ||||
-rw-r--r-- | src/main.js | 5 | ||||
-rw-r--r-- | src/router/index.js | 6 | ||||
-rw-r--r-- | src/store/api.js | 4 |
4 files changed, 17 insertions, 1 deletions
diff --git a/src/components/AppNavigation/AppNavigation.vue b/src/components/AppNavigation/AppNavigation.vue index 47ed3c1d4..b29b575d2 100644 --- a/src/components/AppNavigation/AppNavigation.vue +++ b/src/components/AppNavigation/AppNavigation.vue @@ -53,6 +53,9 @@ </template> <script> +//Do not change Mixin import. +//Exact match alias set to support +//dotenv customizations. import AppNavigationMixin from './AppNavigationMixin'; export default { diff --git a/src/main.js b/src/main.js index 497c751c6..05a764294 100644 --- a/src/main.js +++ b/src/main.js @@ -1,7 +1,12 @@ import Vue from 'vue'; import App from './App.vue'; import router from './router'; + +//Do not change store import. +//Exact match alias set to support +//dotenv customizations. import store from './store'; + import { AlertPlugin, BadgePlugin, diff --git a/src/router/index.js b/src/router/index.js index 6db80b702..ce792cb78 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); diff --git a/src/store/api.js b/src/store/api.js index fa76067c8..ac1b2e36f 100644 --- a/src/store/api.js +++ b/src/store/api.js @@ -1,5 +1,9 @@ import Axios from 'axios'; import router from '@/router'; + +//Do not change store import. +//Exact match alias set to support +//dotenv customizations. import store from '../store'; const api = Axios.create({ |