Is it possible to use a specific version of VUEJS in a Laravel project?
P粉676821490
P粉676821490 2023-08-31 17:36:48
0
1
472
<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>
P粉676821490
P粉676821490

reply all(1)
P粉878542459

Laravel uses NPM (node ​​package manager), and any modules will be installed into the node_modules directory.

  • Install Node.js.
  • Open a terminal and cd to your project root directory.
  • Then just run:
npm install --save vue v2.3

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 to Vue.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template