我想要回到主页时,我点击下面的给定链接。但它并没有采取 我到我想去的页面。我想访问主页当我点击下面 提到的链接或按钮。我必须添加任何角码吗?如果是,那么 我要写什么和在哪个文件?如何去链接或按钮中的另一个页面点击离子2
<ion-header>
<ion-navbar>
<button ion-button menuToggle>
<ion-icon name="menu"></ion-icon>
</button>
<ion-title>Profile</ion-title>
</ion-navbar>
</ion-header>
<ion-content padding>
<a href="#/home.html">click to home page</a>
<button type="button" ng-click="home()">click to home page</button>
</ion-content>
什么是你的路由配置您的主页网址是什么? –
我创建了一个名为“prorile”的页面,位置是“src/pages/profile页面和所有其他页面” – Samar
不,我的意思是您的主页的绝对URL。即通过'http://本地主机/ homepage' –