PAMapp/pages/index.vue
@@ -1,5 +1,6 @@ <template> <div>PAMapp-Home <div>首頁 <Ui-Carousel></Ui-Carousel> <h5>推薦顧問</h5> <Ui-Swiper></Ui-Swiper> </div> @@ -12,7 +13,9 @@ layout: 'home' }) export default class MainComponent extends Vue { routerPush(path: string) { this.$router.push('/' + path); } } </script>