v0.1.0
fix: Support more situations
No longer limited to
render()
orsetup()
e.g.
hello.js
export default function() {
return <h1>Hello World!</h1>;
}
app.js
import { createComponent } from '@vue/composition-api';
import hello from './hello';
const App = createComponent({
setup() {
return () => <div>{hello()}</div>;
}
});