vue.js can be downloaded from the vue official website. The download link is "vuejs.org/v2/guide/installation.html", and then use the "" tag to introduce vue.js to use vue. .js. </p></blockquote> <p><img src="https://img.php.cn/upload/article/000/000/020/5fbf19b575e22138.jpg" alt="Where to download vue.js" ></p> <p>The operating environment of this tutorial: Windows 7 system, vue version 2.5.16. This method is suitable for all brands of computers. </p> <p>Recommendation: "<a href="https://www.php.cn/vuejs/" target="_blank">vuejs tutorial</a>"</p> <p id="5820-1530525241137" style="text-align:left;line-height:1.75;font-size:14px;"><span style="font-size:32px;"><strong>Three methods to download and install vue.js</strong></span></p> <p style="text-align:left;line-height:1.75;font-size:14px;"><span style="font-size:18px;">To download and install vue, you must first download and install node.js and npm. After downloading and installing these two things, you can install vue. Here are three ways to install vue. </span></p> <p style="text-align:left;line-height:1.75;font-size:14px;"><span style="font-size:18px;"><strong>1. Download vue.js directly from the official website </strong></span></p> <p style="text-align:left;line-height:1.75;font-size:14px;"><span style="font-size:18px;">Download vue.js from the official website. And introduce it with the <script> tag. </span></p> <p style="text-align:left;line-height:1.75;font-size:14px;"><span style="font-size:18px;">Note: The download URL is </span> <span style="font-size:18px;color:rgb(0,56,132);">https://vuejs.org/v2/guide/installation.html</span> <span style="font-size:18px;color:rgb(57,57,57);">. </span></p> <p style="text-align:left;line-height:1.75;font-size:14px;"><span style="font-size:18px;color:rgb(57,57,57);"><img src="https://img.php.cn/upload/article/000/000/020/9a29c10855fbc77e191663c537acac92-0.png" alt=""><br></span></p> <p style="text-align:left;line-height:1.75;font-size:14px;">## instead of <span style="font-size:18px;color:rgb(57,57,57);"> </span>https://cn.vuejs.org/v2/ guide/installation.html<span style="font-size:18px;color:rgb(0,56,132);"> </span>, although this is also a vue website, the source code will be displayed instead of downloaded after entering. <span style="font-size:18px;color:rgb(57,57,57);"></span></p> <p style="text-align:left;line-height:1.75;font-size:14px;"><span style="font-size:18px;color:rgb(57,57,57);"><img src="https://img.php.cn/upload/article/000/000/020/9a29c10855fbc77e191663c537acac92-1.png" alt=""><br></span></p> <p style="text-align:left;line-height:1.75;font-size:14px;"><span style="font-size:18px;color:rgb(57,57,57);"><img src="https://img.php.cn/upload/article/000/000/020/5f41a9cf1752e3ba98dd223f881c8bf4-2.png" alt=""><br></span></p> <p style="text-align:left;line-height:1.75;font-size:14px;"> #2. Download using bower<span style="font-size:18px;"><strong></strong></span></p> <p style="text-align:left;line-height:1.75;font-size:14px;">bower is a front-end package management tool. It can help us track front-end packages and ensure that they are up to date (or a specific version specified by you). <span style="font-size:18px;"><strong></strong></span></p> Bower requires node, npm and git environments. After configuring these environments, install bower through npm: npm install bower -g<p style="text-align:left;line-height:1.75;font-size:14px;"><span style="font-size:18px;"></span> </p> <p><img src="https://img.php.cn/upload/article/000/000/020/5f41a9cf1752e3ba98dd223f881c8bf4-3.png" alt=""></p>After successful installation, enter bower -v to check the bower version. <p style="max-width:90%"><span style="font-size:18px;"></span></p> <p><img src="https://img.php.cn/upload/article/000/000/020/5f41a9cf1752e3ba98dd223f881c8bf4-4.png" alt=""></p>Then enter bower i vue -g to download and install. <p style="max-width:90%"><span style="font-size:18px;"></span></p> <p><img src="https://img.php.cn/upload/article/000/000/020/6b25f9f8775858e5ba113b1ee35c5489-5.png" alt=""></p> <p><img src="https://img.php.cn/upload/article/000/000/020/6b25f9f8775858e5ba113b1ee35c5489-6.png" alt=""><br></p>After the download is completed, enter vue to view some corresponding operations. <p style="max-width:90%"><span style="font-size:18px;"></span></p> <p><img src="https://img.php.cn/upload/article/000/000/020/61f6b6f58df28f2c613e492f39615fae-7.png" alt=""></p> <p style="text-align:left;line-height:1.75;font-size:14px;">3. Use npm to download directly <span style="font-size:18px;"><strong></strong><div class="code" style="position:relative; padding:0px; margin:0px;"><pre class="brush:js;toolbar:false">npm install vue</pre><div class="contentsignin">Copy after login</div></div></span> It may be a little slow, please be patient wait. </p>