mirror of
https://github.com/Xevion/history-of-robotics.git
synced 2025-12-16 18:12:03 -06:00
basic project restructure, add router, boostrap, fix README
This commit is contained in:
17
src/router.js
Normal file
17
src/router.js
Normal file
@@ -0,0 +1,17 @@
|
||||
import Vue from 'vue';
|
||||
import Router from 'vue-router';
|
||||
import Home from './components/Home.vue';
|
||||
|
||||
Vue.use(Router);
|
||||
|
||||
export default new Router({
|
||||
mode: 'history',
|
||||
base: process.env.BASE_URL,
|
||||
routes: [
|
||||
{
|
||||
path: '/',
|
||||
name: 'Home',
|
||||
component: Home,
|
||||
}
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user