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
diff --git a/src/components/AppNavigation/AppNavigation.vue b/src/components/AppNavigation/AppNavigation.vue
index 47ed3c1..b29b575 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 497c751..05a7642 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 6db80b7..ce792cb 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 fa76067..ac1b2e3 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({