会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
des阿松
导航
博客园
首页
新随笔
联系
订阅
管理
<
2025年2月
>
日
一
二
三
四
五
六
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
1
2
3
4
5
6
7
8
统计
随笔 - 9
文章 - 0
评论 - 0
阅读 -
6311
公告
昵称:
des阿松
园龄:
5年6个月
粉丝:
0
关注:
1
2022年1月12日
vue eslint 配置使用
摘要: 1. yarn create vite 初始化创建项目 2. yarn add eslint -D 安装 eslint 3. eslint --init 初始化项目 1.选择 To check syntax and find problems 检查语法并发现问题 2. 选择 JavaScript m
阅读全文
posted @ 2022-01-12 16:36 des阿松
阅读(224)
评论(0)
推荐(0)
编辑
2020年12月22日
vue项目加入electron打包exe应用程序
摘要: 1.创建vue脚手架项目;(话不多说 就是你要想打包的项目) 2:配置cnpm; npm install -g cnpm --registry=https://registry.npm.taobao.org; 3:vue add electron-builder 安装vue2 支持的 electro
阅读全文
posted @ 2020-12-22 10:35 des阿松
阅读(442)
评论(0)
推荐(0)
编辑
2020年10月27日
css涟漪点击效果(此博客仅供个人记录使用)
摘要: 第一种:纯css实现: .ripple { position: relative; overflow: hidden; } .ripple:after { content: ""; display: block; position: absolute; width: 100%; height: 10
阅读全文
posted @ 2020-10-27 20:34 des阿松
阅读(657)
评论(0)
推荐(0)
编辑
electron打包nsis配置(只限个人记录,有问题欢迎指正)
摘要: vue-cli插件配置 pluginOptions: { electronBuilder: { outputDir: 'dist-electron', //打包路径 chainWebpackMainProcess: (config) => { // Chain webpack config for
阅读全文
posted @ 2020-10-27 14:53 des阿松
阅读(1535)
评论(0)
推荐(0)
编辑
2020年10月21日
记录finalShell 配置个人阿里云服务
摘要: 1. 安装nvm node版本管理工具 和node ①.安装nvm管理工具再装node 执行 curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash 或: wget -qO- https
阅读全文
posted @ 2020-10-21 13:43 des阿松
阅读(448)
评论(0)
推荐(0)
编辑
2020年9月2日
记录 vue 中使用 SVG 渐变填充遇到过的坑
摘要: 需求是一个vue组件封装 通过弹框填写相应属性(弹框做属性填写和选择 加属性预览) 点击确定后关闭弹框拿到返回的数据更新状态树 代码:vue部分 <template> <div class="fillDialog"> <div class="mask" @click="cancel"></div>
阅读全文
posted @ 2020-09-02 13:37 des阿松
阅读(816)
评论(0)
推荐(0)
编辑
2019年10月21日
电子签名 VUE加canvas实现 移动端和PC实现
摘要: <section class="signature"> <div class="signatureBox"> <div class="canvasBox" ref="canvasHW"> <canvas ref="canvasF" @touchstart='touchStart' @touchmove='touchMove' @touchend='touchEnd' @mousedown="mou
阅读全文
posted @ 2019-10-21 17:23 des阿松
阅读(959)
评论(0)
推荐(0)
编辑
2019年8月17日
提升页面性能的方法
摘要: 1、原则(1)多使用内存、缓存或者其他方法。(2)减少cpu占用,减少网络。 提升页面性能的方法有哪些? 一、加载页面和静态资源1、静态资源压缩合并,减少http请求。(1)减少http请求数量(2)减少请求资源大小2、非核心代码异步加载。3、静态资源缓存:通过链接名称控制缓存,只有内容改变的时候,
阅读全文
posted @ 2019-08-17 14:19 des阿松
阅读(1094)
评论(0)
推荐(0)
编辑
get和post的区别
摘要: 9个区别,至少记住标记的4个1、get在浏览器回退时是无害的,而post会再次提交请求。(记住)2、get请求会被浏览器主动缓存,而post不会,除非手动设置。(记住)3、get产生的url地址可以被收藏,而post不可以。4、get请求只能进行url编码,而post支持多种编码方式。5、get请求
阅读全文
posted @ 2019-08-17 10:31 des阿松
阅读(136)
评论(0)
推荐(0)
编辑
点击右上角即可分享