8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
This looks really awesome.
<template> <div> <input v-model="msg"> <p>prop: {{propMessage}}</p> <p>msg: {{msg}}</p> <p>helloMsg: {{helloMsg}}</p> <p>computed msg: {{computedMsg}}</p> <button @click="greet">Greet</button> </div> </template> <script lang="ts"> import Vue from 'vue' import Component from '../lib/index' @Component({ props: { propMessage: String } }) export default class App extends Vue { propMessage: string // inital data msg: number = 123 // use prop values for initial data helloMsg: string = 'Hello, ' + this.propMessage // lifecycle hook mounted () { this.greet() } // computed get computedMsg () { return 'computed ' + this.msg } // method greet () { alert('greeting: ' + this.msg) } } </script>
The text was updated successfully, but these errors were encountered:
But decorator in babel or typescript is not standard relatively to latest ECMAScript standard.
I think you can pending this feature until stable decorator has released.
Sorry, something went wrong.
We have something even better for TS.
Any more details on this?
vuejs/vue#5887
For the record, I think vue-class-component could still be supported, but I'd like to see the community response to the changes I've been working on.
No branches or pull requests
This looks really awesome.
The text was updated successfully, but these errors were encountered: