Vite base
setting not used when running site built with Vike+Hattip
#2241
Unanswered
pdanpdan
asked this question in
Help & Questions
Replies: 1 comment 1 reply
-
Hi Dan, yea I also ain't sure where the issue originates. But it does seem to be a UnoCSS issue. Can you reproduce without Vike? Without HatTip? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello.
I'm not sure where this should go (what repo), because it is a mix of Vite, Vike and Hattip.
pnpm create vike@latest --vue --hattip
vite.config.ts
and addbase: 'test'
in configpnpm dev
- all is well (Local: http://localhost:3000/test
)pnpm build
NODE_ENV=production node dist/server/index.mjs
- it is served asServer listening on http://localhost:3000
When accessing
http://localhost:3000/test
the html loads as expected, but no asset can be loaded.Somehow related, when adding UnoCSS to a Vike project the inspector has some problems with matching the
base
:The inspector interface is in fact available on
https://localhost:3000/__unocss/
.@brillout I suppose this should go on UnoCSS and if you can confirm it's not related to Vike I'll create an issue there.
Beta Was this translation helpful? Give feedback.
All reactions