Inconsistency of setup and non-setup script
Version
3.0.0
Reproduction link
https://github.com/FrankFang/vue-bug-1
Steps to reproduce
- git clone https://github.com/FrankFang/vue-bug-1.git
- cd vue-bug-1
- yarn
- yarn dev
- open http://127.0.0.1:3000
What is expected?
I expect the page reads Message from HelloWorld.vue Message from HelloWorld.vue
What is actually happening?
The page reads Message from HelloWorld.vue Message from App.vue
HelloWorld.vue and HelloWorldUsingSetup.vue should be consistent
You cannot have a prop and a data property (or any other property that is directly available through this
or on the template, with the same name. There is already a warning on the console about duplicated names