I will need to test that further. I believe that I need it for Angular. According to the Angular documentation, "Most routing applications should add a <base> element to the index.html as the first child in the <head> tag to tell the router how to compose navigation URLs."
go to post
Thank you, John!
go to post
I will need to test that further. I believe that I need it for Angular. According to the Angular documentation, "Most routing applications should add a
<base>
element to theindex.html
as the first child in the<head>
tag to tell the router how to compose navigation URLs."go to post
I just tried it for another project and it also worked.
Should I set up Apache to serve 'default' page(s)?
go to post
Switching to <base href="http://localhost:57772/testwebapp/"> worked!
go to post
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Testwebapp</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="styles.3bb2a9d4949b7dc120a9.css">
</head>
<body>
<app-root></app-root>
<script type="text/javascript" src="runtime.ec2944dd8b20ec099bf3.js"></script><script type="text/javascript" src="polyfills.c6871e56cb80756a5498.js"></script><script type="text/javascript" src="main.4ba7035983a7e3311083.js"></script>
</body
</html>