【发布时间】:2019-01-15 23:04:38
【问题描述】:
Github 回购:- UI-asset-Agm.
项目名称:- UI-assets 我正在运行以下命令在 github 页面上部署 Angular 应用程序
ng build --prod --base-href "https://skatia.github.io/UI-asset-Agm"
ngh or
npx ngh --dir=dist/UI-assets
但是当我去
https://skatia.github.io/UI-asset-Agm/ or
https://skatia.github.io/UI-assets/
它说找不到网站
dist/UI-assets/index.html 是
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>UIAssets</title>
<base href="https://skatia.github.io/UI-asset-Agm">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://unpkg.com/tachyons@4/css/tachyons.min.css">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="styles.491137759dd7a3a3a7e2.css"></head>
<body>
<app-root></app-root>
<script type="text/javascript" src="runtime.ec2944dd8b20ec099bf3.js"></script><script type="text/javascript" src="polyfills.1ef83d22ada557f4a131.js"></script><script type="text/javascript" src="main.ca0a7471bf0fe9d8f66d.js"></script></body>
</html>
【问题讨论】:
标签: angular github-pages