mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-29 17:07:22 +00:00
chore: fix vite entry path
in stubbed mode, we use .ts extension
This commit is contained in:
parent
e7b62714b2
commit
c4387e8ec2
@ -6,6 +6,6 @@
|
|||||||
<body {{ BODY_ATTRS }}>
|
<body {{ BODY_ATTRS }}>
|
||||||
{{ APP }}
|
{{ APP }}
|
||||||
<% if (nuxt.options.vite && nuxt.options.dev) { %><script type="module" src="/@vite/client"></script>
|
<% if (nuxt.options.vite && nuxt.options.dev) { %><script type="module" src="/@vite/client"></script>
|
||||||
<script type="module" src="/__app/entry.mjs"></script><% } %>
|
<script type="module" src="/__app/entry"></script><% } %>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user