使用"npm install"安装jquery-ui [英] Using "npm install" to install jquery-ui

查看:621
本文介绍了使用"npm install"安装jquery-ui的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从这里 https://github.com/jquery/jquery-ui 看到jquery-ui的最新版本是1.11.4.但是,当我使用"npm install jquery-ui"时,它仅为1.10.3.我在node_modules/jquery-ui/jquery-ui.js中检查了此版本.

I see from here https://github.com/jquery/jquery-ui that jquery-ui's latest release is 1.11.4. However, when I use "npm install jquery-ui", it's only 1.10.3. I checked this version in node_modules/jquery-ui/jquery-ui.js.

我有什么方法可以安装最新版本?

Is there any way for me to install the latest version?

推荐答案

jQuery-ui特别需要在安装后构建.为避免这种情况,请使用npm install jquery-ui-dist

jQuery-ui specifically needs to be build after installation. To avoid this, use npm install jquery-ui-dist

这篇关于使用"npm install"安装jquery-ui的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆