@astrojs/vue
Advanced tools
Comparing version 1.0.0 to 1.0.1
# @astrojs/vue | ||
## 1.0.1 | ||
### Patch Changes | ||
- [#4639](https://github.com/withastro/astro/pull/4639) [`f08ca005e`](https://github.com/withastro/astro/commit/f08ca005e28cc7d279535680d5b44495877aa7b6) Thanks [@matthewp](https://github.com/matthewp)! - Mark vueperslides as a default noExternal | ||
## 1.0.0 | ||
@@ -4,0 +10,0 @@ |
@@ -17,3 +17,4 @@ import vue from "@vitejs/plugin-vue"; | ||
ssr: { | ||
external: ["@vue/server-renderer"] | ||
external: ["@vue/server-renderer"], | ||
noExternal: ["vueperslides"] | ||
} | ||
@@ -20,0 +21,0 @@ }; |
{ | ||
"name": "@astrojs/vue", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Use Vue components within Astro", | ||
@@ -35,3 +35,3 @@ "type": "module", | ||
"devDependencies": { | ||
"astro": "1.0.0", | ||
"astro": "1.1.6", | ||
"astro-scripts": "0.0.7", | ||
@@ -38,0 +38,0 @@ "vue": "^3.2.37" |
@@ -19,7 +19,7 @@ # @astrojs/vue 💚 | ||
# Using NPM | ||
npx astro add vue | ||
npm run astro add vue | ||
# Using Yarn | ||
yarn astro add vue | ||
# Using PNPM | ||
pnpx astro add vue | ||
pnpm astro add vue | ||
``` | ||
@@ -26,0 +26,0 @@ |
import type { Options } from '@vitejs/plugin-vue'; | ||
import vue from '@vitejs/plugin-vue'; | ||
import type { AstroIntegration, AstroRenderer } from 'astro'; | ||
import type { UserConfig } from 'vite'; | ||
@@ -13,3 +14,3 @@ function getRenderer(): AstroRenderer { | ||
function getViteConfiguration(options?: Options) { | ||
function getViteConfiguration(options?: Options): UserConfig { | ||
return { | ||
@@ -23,2 +24,3 @@ optimizeDeps: { | ||
external: ['@vue/server-renderer'], | ||
noExternal: ['vueperslides'], | ||
}, | ||
@@ -25,0 +27,0 @@ }; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22150
212