diff options
| author | Lex Neva <lexelby@users.noreply.github.com> | 2020-08-20 22:13:02 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-20 22:13:02 -0400 |
| commit | eedcd016f620e8e3fe939978becf496d77d4080c (patch) | |
| tree | b27caab4f3942b9e9f27eff7efc2bf6c468cca48 /electron/src/renderer/router/index.js | |
| parent | 4dcb07c3d801d033df94c2a400adc7ce163d2d4e (diff) | |
| parent | 6e34f5f7fc8598e564adf9b3e08e6cb4275923b5 (diff) | |
Merge pull request #793 from inkstitch/lexelby/install-extension-electron
migrate install extension to electron
Diffstat (limited to 'electron/src/renderer/router/index.js')
| -rw-r--r-- | electron/src/renderer/router/index.js | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/electron/src/renderer/router/index.js b/electron/src/renderer/router/index.js index 3a27c4bc..63e2f415 100644 --- a/electron/src/renderer/router/index.js +++ b/electron/src/renderer/router/index.js @@ -5,14 +5,19 @@ Vue.use(Router) export default new Router({ routes: [ - { - path: '/simulator', - name: 'simulator', - component: require('@/components/Simulator').default - }, - { - path: '*', - redirect: '/' - } + { + path: '/simulator', + name: 'simulator', + component: require('@/components/Simulator').default + }, + { + path: '/install', + name: 'install', + component: require('@/components/InstallPalettes').default + }, + { + path: '*', + redirect: '/' + } ] }) |
