frandiox / vitesse-ssr-template

🏕 Opinionated Vue + Vite Starter Template with SSR in Node.js
https://vitesse-ssr.vercel.app/
MIT License
187 stars 29 forks source link

Error reported after introducing antdv through vite-ssr [server rendering] #16

Open lita-jerry opened 2 years ago

lita-jerry commented 2 years ago

https://github.com/vueComponent/ant-design-vue/issues/5740 I have submitted at antdv

Version 3.2.6

Environment "vue": "^3.2.37" "vite-ssr": "^0.9.0" "ant-design-vue": "^3.2.7"

Reproduction link https://github.com/frandiox/vitesse-ssr-template

Steps to reproduce 依次执行: pnpm i npm run dev // 此时报错 npm run dev:spa // 正常运行且渲染antdv组件成功

What is expected? 服务器渲染通过

What is actually happening? 报错,补充说明中贴出报错信息

jerry@JerrydeMacBook-Pro vitesse-ssr-template % npm run dev

dev vite-ssr --port 3333 --open

vite v2.3.3 dev server running at:

Local: http://localhost:3333/ Network: use --host to expose

-- SSR mode

[@vue/compiler-sfc] Githubissues.

  • Githubissues is a development platform for aggregating issues.