aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2017-01-21 18:56:05 -0800
committerAdam Soltys <[email protected]>2017-01-21 18:56:05 -0800
commitc413e457579b68b7a92ab47cdd867202ee7bb47e (patch)
tree4d84c4af06e936a54890468cc4351deabcd8c0f9 /src/main.js
parent931f2262d9ef7f571fe87b176f6cd531b3579a68 (diff)
downloadcoinos-server-c413e457579b68b7a92ab47cdd867202ee7bb47e.tar.gz
coinos-server-c413e457579b68b7a92ab47cdd867202ee7bb47e.zip
Ditch coffeescript
Diffstat (limited to 'src/main.js')
-rw-r--r--src/main.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/main.js b/src/main.js
index 0fb682f3..cfaeb1ac 100644
--- a/src/main.js
+++ b/src/main.js
@@ -1,18 +1,18 @@
-// The Vue build version to load with the `import` command
-// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import VueRouter from 'vue-router'
import App from './App'
import SignIn from './components/SignIn'
+import SignUp from './components/SignUp'
import Sales from './components/Sales'
const routes = [
- { path: '/', component: SignIn },
+ { path: '/signin', component: SignIn },
+ { path: '/signup', component: SignUp },
{ path: '/sales', component: Sales }
]
const router = new VueRouter({
- routes // short for routes: routes
+ routes
})
Vue.use(VueRouter)
@@ -24,4 +24,3 @@ new Vue({
components: { App },
router: router
})
-