会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
蒲地蓝
博客园
首页
新随笔
联系
管理
订阅
2022年6月18日
mongose操作数据库 增删改
摘要: //引入mongoose第三方模块 用来操作数据库 const mongoose = require('mongoose'); //数据库连接 mongoose .connect('mongodb://localhost/playground', { useNewUrlParser: true })
阅读全文
posted @ 2022-06-18 14:37 琴师i
阅读(26)
评论(0)
推荐(0)
2021年5月27日
vue一般的配置可能会有的
摘要: 一、less vue中引入less(注意安装低版本,高版本依赖不支持) (https://blog.csdn.net/qq_41848496/article/details/108522314) (参考) npm install less@3.9.0 less-loader@5.0.0 --save
阅读全文
posted @ 2021-05-27 22:51 琴师i
阅读(61)
评论(0)
推荐(0)
2021年5月20日
vue项目打包上线
摘要: config => index.js =>文件中 1.删除proxyTable中的代理内容。 proxyTable: { '/api':{ target:'http://192.168.1.111:8081', changeOrigin:true, pathRewrite:{ '^/api':'/'
阅读全文
posted @ 2021-05-20 17:21 琴师i
阅读(195)
评论(0)
推荐(0)
vue中引入less
摘要: vue中引入less(注意安装低版本,高版本依赖不支持) npm install less@3.9.0 less-loader@5.0.0 --save-dev main.js中写入 import less from 'less' Vue.use(less) 安装成功后,打开 build/webpa
阅读全文
posted @ 2021-05-20 17:10 琴师i
阅读(293)
评论(0)
推荐(0)
vue项目部署
摘要: npm装包时-S和-D的区别 npm install name -save-dve 简写(npm install name -D) 自动把模块和版本号添加到devdependencies.(开发环境) npm install name -save 简写(npm install name -S) 自动
阅读全文
posted @ 2021-05-20 17:07 琴师i
阅读(237)
评论(0)
推荐(0)
vue搭建环境
摘要: git安装 https://blog.csdn.net/sanxd/article/details/82624127(参考) 之后在文件夹可以右键出现git bush here 安装NodeJs以及vue的配置 https://www.jb51.net/article/170872.htm
阅读全文
posted @ 2021-05-20 16:54 琴师i
阅读(48)
评论(0)
推荐(0)
2020年8月15日
8-15晚上用JQ仿作实现类似的sticky定位
摘要: 恢复内容开始 html结构: <div class="scroll" id="gd"></div> css样式: body{ height:8000px;/*只是为了实现效果*/ }.scroll{ width: 100%; height: 250px; background: #f00; } .s
阅读全文
posted @ 2020-08-15 23:06 琴师i
阅读(68)
评论(0)
推荐(0)
公告