Error when introducing Quasar build in Vitepress , Error: __QUASAR_SSR_SERVER__ is not defined #17381
Labels
area/plugins
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/vite-plugin
Bugs related to Vite usage with Quasar
kind/bug 🐞
Qv2 🔝
Quasar v2 issues
What happened?
vitepress 引入 Quasar 报错 Error: QUASAR_SSR_SERVER is not defined
What did you expect to happen?
我在一个空文件夹初始化 vitepress 并引入 Quasar ,
按照Vite plugin的指引安装到项目中,
预览没有问题,但是编译时报错 Error: QUASAR_SSR_SERVER is not defined
Reproduction URL
https://stackblitz.com/edit/vite-x5s5gg
How to reproduce?
在控制台中执行
npm run docs:build
Flavour
Vite Plugin (@quasar/vite-plugin)
Areas
Plugins (quasar)
Platforms/Browsers
Other
Quasar info output
No response
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: