Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: renderer plugins #155

Closed
wants to merge 14 commits into from
Prev Previous commit
Next Next commit
chore: update Vue renderer type
  • Loading branch information
Nate Moore committed May 17, 2021
commit ec1de16380bdcaf4d213e5eda2b270a9dfe5da77
4 changes: 2 additions & 2 deletions packages/astro-renderer-vue/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { AstroRenderer } from 'astro/renderer';
import type { Component as ComponentType } from 'vue';

interface ReactDependencies {
interface VueDependencies {
shared: {
vue: typeof import('vue')
},
Expand All @@ -11,7 +11,7 @@ interface ReactDependencies {
client: {}
}

const renderer: AstroRenderer<ReactDependencies, ComponentType> = {
const renderer: AstroRenderer<VueDependencies, ComponentType> = {
jsx: {
importSource: 'vue',
factory: 'h'
Expand Down