src/App.vue
@@ -3,7 +3,22 @@ <router-view></router-view> </div> </template> <script> export default { data() { return { } }, mounted() { this.$router.push({ path: '/index', }).catch(err => { console.log(err) }); } } </script> <style> #app { box-sizing: border-box;