feat(sfc): support resolving template components from <script setup> exports

This commit is contained in:
Evan You
2020-07-28 17:31:46 -04:00
parent aa06b1034d
commit 6f5d840612
2 changed files with 12 additions and 2 deletions

View File

@@ -10,7 +10,12 @@ export const compilerOptions: CompilerOptions = reactive({
hoistStatic: false,
cacheHandlers: false,
scopeId: null,
ssrCssVars: `{ color }`
ssrCssVars: `{ color }`,
bindingMetadata: {
TestComponent: 'setup',
foo: 'setup',
bar: 'props'
}
})
const App = {