Set base "/" to avoid url param issue under html5mode; separate the main html contain from index.html.