mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
Add base only when router.base defined
This commit is contained in:
parent
75a81430a4
commit
0f6ccd595d
@ -7,7 +7,7 @@
|
||||
<%= m.style.text() %>
|
||||
<%= m.script.text() %>
|
||||
<%= m.noscript.text() %>
|
||||
<base href="<%= baseUrl %>">
|
||||
<% if (baseUrl !== '/') { %><base href="<%= baseUrl %>"><% } %>
|
||||
<% if (!dev) { %><link rel="stylesheet" href="<%= files.css %>"><% } %>
|
||||
</head>
|
||||
<body <%= m.bodyAttrs.text() %>>
|
||||
|
Loading…
Reference in New Issue
Block a user