whythawk / full-stack-fastapi-postgresql

Full stack, modern web application generator. Using FastAPI, PostgreSQL as database, Nuxt3, Docker, automatic HTTPS and more.
MIT License
231 stars 47 forks source link

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

Closed franksheppard closed 1 year ago

franksheppard commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

Should be fixed in latest release.