Skip to content

Commit b74229e

Browse files
author
Bart Verwilst
committed
Divide pages and components
1 parent 7062469 commit b74229e

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

resources/assets/js/app.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import App from './App.vue'
2-
import One from './components/One.vue'
3-
import Two from './components/Two.vue'
1+
import App from './pages/App.vue'
2+
import FirstPage from './pages/FirstPage.vue'
3+
import SecondPage from './pages/SecondPage.vue'
44

55
/**
66
* First we will load all of this project's JavaScript dependencies which
@@ -25,8 +25,8 @@ Vue.use(VueResource);
2525
Vue.http.options.root = '/api'
2626

2727
const routes = [
28-
{ path: '/', component: One },
29-
{ path: '/two', component: Two }
28+
{ path: '/', component: FirstPage },
29+
{ path: '/two', component: SecondPage }
3030
]
3131

3232
const router = new VueRouter({

resources/assets/js/components/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)