Closed
Description
Version
3.0.0-beta.6
Reproduction link
https://github.com/fdeitelhoff/brickobotik.codes
Steps to reproduce
- Setup a clean project via vue cli (e.g. "vue create tests")
- Add the typescript plugin via "npm install -D @vue/cli-plugin-typescript"
- Invoke the typescript plugin via "vue invoke typescript"
What is expected?
The freshly created project should compile.
What is actually happening?
Two error messages:
WARNING Compiled with 2 warnings
error: Parsing error: Unexpected character '@' at src\App.vue:
10 | import HelloWorld from './components/HelloWorld.vue';
11 |
12 | @component({
13 | components: {
14 | HelloWorld,
15 | },
1 error found.
error: Parsing error: Unexpected character '@' at src\components\HelloWorld.vue:
32 | import { Component, Prop, Vue } from 'vue-property-decorator';
33 |
34 | @component
35 | export default class HelloWorld extends Vue {
36 | @prop() private msg!: string;
37 | }
1 error found.