src/App.vue @@ -1,10 +1,14 @@ <template> <router-view></router-view> <Index /> </template> <script> import Index from './pages/index/index' export default { name: 'App' name: 'App', components: { Index } } </script>