Is it possible to use a specific version of VUEJS in a Laravel project?
P粉676821490
2023-08-31 17:36:48
<p>I'm pretty new to VUEJS and am learning it via torrent.
The author is using an old version of the document, the link is https://ru.vuejs.org/v2/guide/components-custom-events.html</p>
<p>For example, .sync was only added in version 2.3.0. </p>
<pre class="brush:php;toolbar:false;"><text-document v-bind:title.sync="doc.title"></text-document></pre>
<p>Can I use a specific version (such as 2.2) of VUEJS in my laravel project? </p>
Laravel uses
NPM
(node package manager), and any modules will be installed into thenode_modules
directory.Node.js
.cd
to your project root directory.So, as long as you know Laravel well enough and make sure that its
package.json
does not conflict, you don't have to worry that you are new toVue
.