@astrojs/vue
Advanced tools
Comparing version 3.0.2 to 3.0.3
{ | ||
"name": "@astrojs/vue", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "Use Vue components within Astro", | ||
@@ -49,7 +49,7 @@ "type": "module", | ||
"vue": "^3.3.4", | ||
"astro": "3.3.3", | ||
"astro": "3.4.1", | ||
"astro-scripts": "0.0.14" | ||
}, | ||
"peerDependencies": { | ||
"astro": "^3.3.3", | ||
"astro": "^3.0.0", | ||
"vue": "^3.2.30" | ||
@@ -56,0 +56,0 @@ }, |
@@ -119,3 +119,3 @@ # @astrojs/vue 💚 | ||
```js | ||
```ts | ||
// src/pages/_app.ts | ||
@@ -122,0 +122,0 @@ import type { App } from 'vue'; |
@@ -10,4 +10,6 @@ import { h, createSSRApp } from 'vue'; | ||
async function renderToStaticMarkup(Component, props, slotted, metadata) { | ||
async function renderToStaticMarkup(Component, inputProps, slotted, metadata) { | ||
const slots = {}; | ||
const props = { ...inputProps }; | ||
delete props.slot; | ||
for (const [key, value] of Object.entries(slotted)) { | ||
@@ -14,0 +16,0 @@ slots[key] = () => |
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
18225
247