Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500 [VITE_ERROR] /pages/[...slug].vue?macro=true #12

Closed
franksheppard opened this issue Feb 12, 2023 · 2 comments
Closed

500 [VITE_ERROR] /pages/[...slug].vue?macro=true #12

franksheppard opened this issue Feb 12, 2023 · 2 comments

Comments

@franksheppard
Copy link

The build works fine, when I go to http://localhost get this:

[vite-node] [plugin:vite:vue] [VITE_ERROR] /pages/[...slug].vue?macro=true

<template>
    <main class="max-w-none mx-auto sm:w-3/5 prose prose-reader-light prose-reader-base prose-reader-compact px-4 pt-10 pb-20 sm:px-6">
        <ContentDoc />
    </main>
</template>

<script setup lang="ts">
definePageMeta({
  middleware: ["refresh"],
});
</script>
  

at /pages/[...slug].vue?macro=true
@turukawa
Copy link
Member

Hi @franksheppard Does this also happen for you outside of Docker (running frontend at http://localhost:3000 direct)? And did you update Vite at all? I'm not having success duplicating this.

@turukawa
Copy link
Member

Should be fixed in latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants