You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to create a dynamic layout for the vue app. without dynamic layout everything is fine. But when I try to add dynamic layout, I got this error:
TypeError: src.replace is not a function at Object.escapeHtmlComment (C:\Users\app\vue-ssr\node_modules\.pnpm\@[email protected]\node_modules\@vue\shared\dist\shared.cjs.js:334:14) at Proxy.renderVNode (C:\Users\app\vue-ssr\node_modules\.pnpm\@[email protected][email protected]\node_modules\@vue\server-renderer\dist\server-renderer.cjs.js:720:34) at _sfc_ssrRender (/src/Layout.vue:44:25) at renderComponentSubTree (C:\Users\app\vue-ssr\node_modules\.pnpm\@[email protected][email protected]\node_modules\@vue\server-renderer\dist\server-renderer.cjs.js:683:9) at renderComponentVNode (C:\Users\app\vue-ssr\node_modules\.pnpm\@[email protected][email protected]\node_modules\@vue\server-renderer\dist\server-renderer.cjs.js:631:12) at Proxy.ssrRenderComponent (C:\Users\app\vue-ssr\node_modules\.pnpm\@[email protected][email protected]\node_modules\@vue\server-renderer\dist\server-renderer.cjs.js:86:10) at _sfc_ssrRender (/src/App.vue:21:31) at renderComponentSubTree (C:\Users\app\vue-ssr\node_modules\.pnpm\@[email protected][email protected]\node_modules\@vue\server-renderer\dist\server-renderer.cjs.js:683:9) at renderComponentVNode (C:\Users\app\vue-ssr\node_modules\.pnpm\@[email protected][email protected]\node_modules\@vue\server-renderer\dist\server-renderer.cjs.js:631:12) at Proxy.renderToString (C:\Users\app\vue-ssr\node_modules\.pnpm\@[email protected][email protected]\node_modules\@vue\server-renderer\dist\server-renderer.cjs.js:902:24) at render (/src/entry-server.js:17:44) at async file:///C:/Users/app/vue-ssr/server.js:77:39
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I try to create a dynamic layout for the vue app. without dynamic layout everything is fine. But when I try to add dynamic layout, I got this error:
Error points to this line:
What I have?
App.vue
Layout.vue
SiteLayout.js
main.js
server.js
entry-client.js
entry-server.js
Anybody can help to fix this?
Beta Was this translation helpful? Give feedback.
All reactions