1、在网络上下载easyui
2、将下载后的压缩包解压后复制到eclipse的项目中WebContent文件夹下
3、在eclipse中需要加载easyui才能使用,参考代码如下:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Basic Accordion - jQuery EasyUI Demo</title>
<link rel="stylesheet" type="text/css" href="./jquery-easyui-1.4.5/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="./jquery-easyui-1.4.5/themes/icon.css">
<link rel="stylesheet" type="text/css" href="./jquery-easyui-1.4.5/demo.css">
<script type="text/javascript" src="./jquery-easyui-1.4.5/jquery.min.js"></script>
<script type="text/javascript" src="./jquery-easyui-1.4.5/jquery.easyui.min.js"></script>
</head>
<body>
...
</body>
</html>