commit | aa5e950b219343fff77ddde855088e694806edf8 | [log] [tgz] |
---|---|---|
author | Yoshie Muranaka <yoshiemuranaka@gmail.com> | Tue Feb 23 11:23:52 2021 -0800 |
committer | Derick Montague <derick.montague@ibm.com> | Mon Mar 01 13:45:05 2021 +0000 |
tree | 76aa992e83f422fa8e5474b01e77b35a8a4838bb | |
parent | 33d755f4e62beff72101f6ca07e4d31b04e13826 [diff] |
Move Dumps page components to main view and store directories This commit will move away from storing env specific component views and store modules in the env directory. This will help simplify the file structure for dotenv customizations. The env directory will only store modifications to the main store register, router definitions, and app navigation. Pages that are "hidden" by default, like dumps, would still need to be imported and registered in the specific environments. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ia5ad76235e00127281f3fa564cb89ec2ca2e0f25
diff --git a/src/env/router/ibm.js b/src/env/router/ibm.js index c4e1a69..317125e 100644 --- a/src/env/router/ibm.js +++ b/src/env/router/ibm.js
@@ -27,7 +27,7 @@ import i18n from '@/i18n'; // Custom components -import Dumps from '../components/Dumps'; +import Dumps from '@/views/Health/Dumps'; const routes = [ {
diff --git a/src/env/store/ibm.js b/src/env/store/ibm.js index 980236f..ff20b9c 100644 --- a/src/env/store/ibm.js +++ b/src/env/store/ibm.js
@@ -1,5 +1,5 @@ import store from '@/store'; -import DumpsStore from './Dumps/DumpsStore'; +import DumpsStore from '@/store/modules/Health/DumpsStore'; store.unregisterModule('virtualMedia');
diff --git a/src/env/store/Dumps/DumpsStore.js b/src/store/modules/Health/DumpsStore.js similarity index 100% rename from src/env/store/Dumps/DumpsStore.js rename to src/store/modules/Health/DumpsStore.js
diff --git a/src/env/components/Dumps/Dumps.vue b/src/views/Health/Dumps/Dumps.vue similarity index 100% rename from src/env/components/Dumps/Dumps.vue rename to src/views/Health/Dumps/Dumps.vue
diff --git a/src/env/components/Dumps/DumpsForm.vue b/src/views/Health/Dumps/DumpsForm.vue similarity index 100% rename from src/env/components/Dumps/DumpsForm.vue rename to src/views/Health/Dumps/DumpsForm.vue
diff --git a/src/env/components/Dumps/DumpsModalConfirmation.vue b/src/views/Health/Dumps/DumpsModalConfirmation.vue similarity index 100% rename from src/env/components/Dumps/DumpsModalConfirmation.vue rename to src/views/Health/Dumps/DumpsModalConfirmation.vue
diff --git a/src/env/components/Dumps/index.js b/src/views/Health/Dumps/index.js similarity index 100% rename from src/env/components/Dumps/index.js rename to src/views/Health/Dumps/index.js