-
-
Notifications
You must be signed in to change notification settings - Fork 940
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
using useHead() in pages fails in ssg build step #241
Comments
Probably related, I am getting the following dependency issue when running 'npm install' after a fresh download (degit). npm ERR! ERESOLVE unable to resolve dependency tree |
are you using pnpm? |
I was using npm, not pnpm. |
@maxweld , @cezarneaga ! In this template, @antfu was config modules with pnpm and you only need to code step by step follow him.
|
i am using pnpm. |
same problem here |
Hi there,
i couldnt find an answer in the example here, docs or elsewhere in the vite-ssg. trying my luck here as i think it may be related to "file based routing" ???
i am using useHead() in a page's <script setup> section. on build for server step i get this error:
am i doing it wrong or just misusing the functionality?
the usage in App.vue succeeds.
appreciate any pointers. will submit a docs PR if i find a solution.
thanks,
C
The text was updated successfully, but these errors were encountered: