InstagramClonePETAL
InstagramClonePETAL copied to clipboard
Compilation error in file lib/instagram_clone_web/views/layout_view.ex
trafficstars
** (Phoenix.LiveView.HTMLTokenizer.ParseError) lib/instagram_clone_web/templates/layout/root.html.heex:9:51: expected closing " for attribute value
How root.html.eex looks:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<%= csrf_meta_tag() %>
<%= live_title_tag assigns[:page_title] || "InstagramClone", suffix: " · InstagramClone" %>
<link phx-track-static rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/app.css") %>"/>
<script defer phx-track-static type="text/javascript" src="<%= Routes.static_path(@conn, "/js/app.js") %>"></script>
</head>
<body>
<%= @inner_content %>
</body>
</html>
<link phx-track-static rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/app.css") %>"/> --> this line may be the issue.