chore: fix vite entry path

in stubbed mode, we use .ts extension
This commit is contained in:
Pooya Parsa 2021-07-15 12:49:38 +02:00
parent e7b62714b2
commit c4387e8ec2

View File

@ -6,6 +6,6 @@
<body {{ BODY_ATTRS }}>
{{ APP }}
<% 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>
</html>