I've created a starter project with vue ui
(typescript, babel, linter). Everything works fine, but I can't quite understand how to make Composition API's setup
method to work. It's simply not being called (log output is empty) Here's where I'm stuck.
vue: 3.0.0-rc.10
vue-cli: 4.5.4
<script lang="ts"> import { Options, Vue } from 'vue-class-component' import HelloWorld from './components/HelloWorld.vue' @Options({ components: { HelloWorld }, setup () { console.log('SETUP HERE') } }) export default class App extends Vue { setup () { console.log('SETUP THERE') } } </script>