mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 16:12:12 +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.style.text() %>
|
||||||
<%= m.script.text() %>
|
<%= m.script.text() %>
|
||||||
<%= m.noscript.text() %>
|
<%= m.noscript.text() %>
|
||||||
<base href="<%= baseUrl %>">
|
<% if (baseUrl !== '/') { %><base href="<%= baseUrl %>"><% } %>
|
||||||
<% if (!dev) { %><link rel="stylesheet" href="<%= files.css %>"><% } %>
|
<% if (!dev) { %><link rel="stylesheet" href="<%= files.css %>"><% } %>
|
||||||
</head>
|
</head>
|
||||||
<body <%= m.bodyAttrs.text() %>>
|
<body <%= m.bodyAttrs.text() %>>
|
||||||
|
Loading…
Reference in New Issue
Block a user