Subscribe on changes!

Script setup - Cannot read properties of undefined (reading '__vccOpts')

avatar
Aug 25th 2022

Vue version

3.2.37

Link to minimal reproduction

https://sfc.vuejs.org/#eNp9UstOwzAQ/BXjS0BKYokekEqoWiQkLtxAXHwp8aY1xA/ZmyBU5d9Z9xG1QeKSeGfWO/aMd3zlfdl3wOe8inXQHlkE7PxCWm28C8h2LEDDBtYEZ1hGrdlIrTrcHvFSpCJNIlra2tmIzMQNe0jbr7NnaFvH3l1o1VV2I20lDmqkQwWC8e0agSrGqjRJ0LISI85zftAszNqXn9FZOvAudcsjESWfsz2SMDpHqiXfIvo4F6Kz/mtT1s6IJXEidBa1gUI5s5yVt+XsTigd8RwvIZriI7jvCIEUJc/PhgsCewhFAKsgQPhXbNJ7ITjh/ogmzUHagQw4GZyiOjesUrpfvELEikb2l77t3T3lejJ8DNbZR2hcgBdH187H8s2aA0A38B2CylOG6bOuUfeQMwWNtvBkNMaLl3E/DTbiTwsLwvZ/PvwCBszayA==

Steps to reproduce

Stack:

"vue": "3.2.37";
"vue-router": "4.1.2";
"vuex": "4.0.2".

I have a main App.vue component which uses a