From c413e457579b68b7a92ab47cdd867202ee7bb47e Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 21 Jan 2017 18:56:05 -0800 Subject: Ditch coffeescript --- src/main.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/main.js') 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 }) - -- cgit v1.2.3