
前端学习
这不是你的确定
有些话不要说说而已。
展开
-
Windows10安装cnpm
安装cnpm可以使用国内镜像下载依赖包,速度更快。 1、确定依据安装了node 2、使用npm安装cnpm淘宝镜像 npm install -g cnpm -registry=https://registry.npm.taobao.org 这里看到已经成功! 如果出现下面的情况,去添加系统变量,在path后添加一条cnpm安装地址。(我这里cnpm安装在了npm下面的node_modules) Q:怎么找npm安装在哪儿了啊 A:使用命令 npm config ls ...原创 2020-12-03 09:28:20 · 1310 阅读 · 0 评论 -
使用layui+thymeleaf前端表单验证
废话不多,直接上代码 html页面代码: <div class="register-container"> <div class="register-banner"> <img src="/img/logo.png"/> </div> <label class="error...原创 2020-04-20 16:16:58 · 994 阅读 · 0 评论 -
前端Ajax使用标准格式(jQuery)
<script type="text/javascript"> window.onload = function () {//页面刷新即加载 $.ajax({ url:'http://10.0.19.21:8080/findall', type:'GET', //GET POST async:true, //或fal...原创 2020-03-09 08:58:30 · 314 阅读 · 0 评论