-
{{ msg }}
+
Johnny is horrible
- For a guide and recipes on how to configure / customize this project,
+ For a guid:e and recipes on how to configure / customize this project,
check out the
vue-cli documentation.
diff --git a/attendancetracker/src/components/Login.vue b/attendancetracker/src/components/Login.vue
new file mode 100644
index 0000000..07ab017
--- /dev/null
+++ b/attendancetracker/src/components/Login.vue
@@ -0,0 +1,37 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/attendancetracker/src/main.js b/attendancetracker/src/main.js
index 63eb05f..ceaece1 100644
--- a/attendancetracker/src/main.js
+++ b/attendancetracker/src/main.js
@@ -1,8 +1,35 @@
import Vue from 'vue'
import App from './App.vue'
+import Buefy from 'buefy'
+Vue.use(Buefy)
Vue.config.productionTip = false
-new Vue({
- render: h => h(App),
-}).$mount('#app')
+import VueRouter from 'vue-router';
+Vue.use(VueRouter);
+
+import VueAxios from 'vue-axios';
+import axios from 'axios';
+
+Vue.use(VueAxios, axios);
+Vue.config.productionTip = false;
+
+import HelloWorld from './components/HelloWorld.vue';
+import Login from './components/Login.vue';
+
+const routes = [
+ {
+ name: 'home',
+ path: '/',
+ component: HelloWorld
+ },
+ {
+ name: 'login',
+ path: '/login',
+ component: Login
+ }
+];
+
+const router = new VueRouter({ mode: 'history', routes: routes});
+
+new Vue(Vue.util.extend({ router }, App)).$mount('#app');
\ No newline at end of file