From 1f7914485c2c125b541653ecc9ff228dc4757ef6 Mon Sep 17 00:00:00 2001 From: Bartek Igielski Date: Mon, 26 Jul 2021 17:14:11 +0200 Subject: [PATCH] Exclude @vue/runtime-core from processing to fix Vue SSR for nested components (#858) * Exclude @vue/runtime-core from processing to fix Vue SSR for nested components * Create seven-shoes-stare.md --- .changeset/seven-shoes-stare.md | 5 +++++ packages/renderers/renderer-vue/index.js | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/seven-shoes-stare.md diff --git a/.changeset/seven-shoes-stare.md b/.changeset/seven-shoes-stare.md new file mode 100644 index 000000000..32dcbf102 --- /dev/null +++ b/.changeset/seven-shoes-stare.md @@ -0,0 +1,5 @@ +--- +"@astrojs/renderer-vue": patch +--- + +Exclude @vue/runtime-core from processing to fix Vue SSR for nested components diff --git a/packages/renderers/renderer-vue/index.js b/packages/renderers/renderer-vue/index.js index 206bae9f3..9c57d0ffa 100644 --- a/packages/renderers/renderer-vue/index.js +++ b/packages/renderers/renderer-vue/index.js @@ -4,4 +4,5 @@ export default { client: './client', server: './server', knownEntrypoints: ['vue'], + external: ['@vue/runtime-core'], };