optimize project structure

This commit is contained in:
jingsam 2016-10-28 10:27:44 +08:00
parent 5b7fe51535
commit 4df4ea1911
9 changed files with 17 additions and 47 deletions

View file

@ -3,7 +3,7 @@
*/
import Vue from 'vue';
import VueRouter from 'vue-router';
import App from './components/app.vue';
import App from './app.vue';
Vue.use(VueRouter);
@ -79,4 +79,4 @@ router.afterEach(function (transition) {
router.redirect({
'*': "/index"
});
router.start(App, '#app');
router.start(App, '#app');