Make sure to install vue-class-component
first before using vue-property-decorator
, as it is a required peer dependency.
For more details, you can check out https://github.com/kaorun343/vue-property-decorator:
Note that vue-property-decorator
relies on vue-class-component
. Make sure to read the README of vue-class-component
before proceeding with this library.
If you need documentation on vue-class-component
, visit:
If you are facing issues after initializing your project, it could be related to incorrect initialization settings (e.g., quasar
setting up script setup/ts
instead of
script options/js</code).</p>
</div></answer1>
<exanswer1><div class="answer" i="74494612" l="4.0" c="1668789872" v="1" a="RGltYXZh" ai="5734961">
<p>Prioritize installing <code>vue-class-component
first before proceeding with
vue-property-decorator
, since it's an essential peer dependency and not included in the latter.
Visit https://github.com/kaorun343/vue-property-decorator for further guidance:
This library heavily relies on vue-class-component
, therefore, acquaint yourself with its README prior to adopting this library.
Explore vue-class-component
documentation here:
If you encounter post-initialization issues, it might be attributed to incorrect settings during initialization (e.g., quasar
misconfiguring script setup/ts
instead of script options/js
) or possibly missing ClassComponent selection when prompted by CLI.