I've set up a new project using vue ui
with typescript, babel, and a linter. Everything seems to be working smoothly, except I'm running into some confusion with implementing the Composition API's setup
method. For some reason, it doesn't seem to be getting called (no output in the log). I'm currently stuck on this issue.
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>