What happened?
I create a new project with following command: npm init quasar@latest
Everything looks greate, then i edit the index.vue file to use Option API no the composition, it's giving me the following erro:
TypeError: Cannot add property leftDrawerOpen, object is not extensible
at _createVNode.onUpdate:modelValue._cache.<computed>._cache.<computed> (index.vue:13:38)
at callWithErrorHandling (vue.runtime.esm-bundler-DYqNBX5Z.js?v=a383c820:1901:17)
at callWithAsyncErrorHandling (vue.runtime.esm-bundler-DYqNBX5Z.js?v=a383c820:1908:15)
at emit (vue.runtime.esm-bundler-DYqNBX5Z.js?v=a383c820:4696:15)
at hide (quasar_dist_quasar__client__js.js?v=a383c820:2715:4)
at quasar_dist_quasar__client__js.js?v=a383c820:9959:24
at callWithErrorHandling (vue.runtime.esm-bundler-DYqNBX5Z.js?v=a383c820:1901:17)
at callWithAsyncErrorHandling (vue.runtime.esm-bundler-DYqNBX5Z.js?v=a383c820:1908:15)
at baseWatchOptions.call (vue.runtime.esm-bundler-DYqNBX5Z.js?v=a383c820:2400:46)
at job (vue.runtime.esm-bundler-DYqNBX5Z.js?v=a383c820:1682:13)
What did you expect to happen?
Expect to not break when using Option API
Reproduction URL
don't have
How to reproduce?
- Create a new quasar projetc with only js + pinia + eslint (SPA mode)
- Edit the file
index.vue from pages to Options API
- See the error
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
SPA Mode
Platforms/Browsers
Chrome
Quasar info output
Relevant log output
Additional context
No response
What happened?
I create a new project with following command:
npm init quasar@latestEverything looks greate, then i edit the index.vue file to use Option API no the composition, it's giving me the following erro:
What did you expect to happen?
Expect to not break when using Option API
Reproduction URL
don't have
How to reproduce?
index.vuefrompagesto Options APIFlavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
SPA Mode
Platforms/Browsers
Chrome
Quasar info output
Relevant log output
Additional context
No response