Add primevue as an external Vue package (#5571)
This commit is contained in:
parent
3f811eb682
commit
50ecb3005d
2 changed files with 6 additions and 1 deletions
5
.changeset/short-games-end.md
Normal file
5
.changeset/short-games-end.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
'@astrojs/vue': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Add primevue as an external Vue package
|
|
@ -62,7 +62,7 @@ async function getViteConfiguration(options?: Options): Promise<UserConfig> {
|
||||||
plugins: [vue(options), virtualAppEntrypoint(options)],
|
plugins: [vue(options), virtualAppEntrypoint(options)],
|
||||||
ssr: {
|
ssr: {
|
||||||
external: ['@vue/server-renderer'],
|
external: ['@vue/server-renderer'],
|
||||||
noExternal: ['vuetify', 'vueperslides'],
|
noExternal: ['vuetify', 'vueperslides', 'primevue'],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue