[Solved] Angular sub paths not working.

Make sure to wrap your app-root element with the body tag! For example:

<!doctype html>
<html lang="en">

<head>
<meta charset="utf-8">
<title>WeHireIt</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">

</head>
<body class="bg-light bg-gradient">
<app-root></app-root>
</body>
</html>

Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *