diff --git a/src/App.vue b/src/App.vue index 9b5909a..b21437b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,34 +1,15 @@ - + - diff --git a/src/Style.vue b/src/Style.vue new file mode 100644 index 0000000..4c1fc3d --- /dev/null +++ b/src/Style.vue @@ -0,0 +1,89 @@ + + + + + + + diff --git a/src/views/AppView.vue b/src/components/AppView.vue similarity index 88% rename from src/views/AppView.vue rename to src/components/AppView.vue index 1bee8a8..5d1331a 100644 --- a/src/views/AppView.vue +++ b/src/components/AppView.vue @@ -18,13 +18,19 @@ - diff --git a/src/router/index.js b/src/router/index.js index 54d65bb..45e5beb 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -9,7 +9,6 @@ import Vue from 'vue'; import VueRouter from 'vue-router'; -import AppView from '../views/AppView.vue'; import NotFound from '../views/NotFound.vue'; import Home from '../views/Home.vue'; @@ -23,8 +22,7 @@ const routes = [ }, { path: '/app/:id', - name: 'AppView', - component: AppView + redirect: '/' }, { path: '/404', diff --git a/src/store/index.js b/src/store/index.js index 2906ea5..625be5f 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -8,10 +8,12 @@ import Vue from 'vue'; import Vuex from 'vuex'; +import version from '../../version'; + Vue.use (Vuex); export default new Vuex.Store ({ - state: { log: {} }, + state: { log: {}, version, theme: '' }, mutations: { set_log (state, log) { state.log = log; diff --git a/src/views/Home.vue b/src/views/Home.vue index eefa485..5a103cc 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -1,21 +1,49 @@ - - - + + - - + + + + + Select an app to view its Reports + + + +
+ Select an app to view its Reports +