随笔分类 -  前端

上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 27 下一页
摘要:演示地址: http://pengchenggang.gitee.io/crypto-js-des/ 开源地址: https://gitee.com/pengchenggang/crypto-js-des 需求: 前后台进行加密传输 建立个vue3的项目,进行测试crypto-js 为了演示方便 再 阅读全文
posted @ 2021-01-15 12:00 彭成刚 阅读(986) 评论(0) 推荐(0)
摘要:实用!最新的几个 Vue 3 重要特性提案 http://www.zyiz.net/tech/detail-142574.html 阅读全文
posted @ 2021-01-12 14:49 彭成刚 阅读(122) 评论(0) 推荐(0)
摘要:https://files.cnblogs.com/files/pengchenggang/Vue-3-Cheat-Sheet-zh.zip 官方下载地址:https://www.vuemastery.com/vue-3-cheat-sheet/ ## (vue3)Vue-3-Cheat-Sheet 阅读全文
posted @ 2021-01-12 14:36 彭成刚 阅读(390) 评论(0) 推荐(0)
摘要:docs.vitepress\config.js const argv = require('minimist')(process.argv.slice(2)) const build = argv.build || false const baseBuild = build ? '/vitepre 阅读全文
posted @ 2021-01-07 15:38 彭成刚 阅读(806) 评论(0) 推荐(0)
摘要:https://github.com/1024-lab/vue-enum 阅读全文
posted @ 2020-12-17 16:07 彭成刚 阅读(1942) 评论(0) 推荐(0)
摘要:TypeScript 最重要的就是装饰器 Vue3最重要更新就是Setup 装饰器就是为了打散功能点,Vue3的Setup功能也是打散功能点,那用Vue3上TS,感觉就是自己给自己多一层工作量。 我这里用的idea,不是vscode,很多功能idea就带了,所以从这个角度,就3人以内的,就没啥必要了 阅读全文
posted @ 2020-12-17 15:36 彭成刚 阅读(7577) 评论(0) 推荐(0)
摘要:https://github.com/kaorun343/vue-property-decorator 阅读全文
posted @ 2020-12-17 11:08 彭成刚 阅读(3710) 评论(0) 推荐(0)
摘要:git clone https://pd.zwc365.com/seturl/< https 开头的项目地址> npm install --registry=https://registry.npm.taobao.org npm 的下载加速,为什么不用cnpm,是因为生成的目录结构不一样,某些时候回 阅读全文
posted @ 2020-12-17 10:33 彭成刚 阅读(405) 评论(0) 推荐(0)
摘要:vue3 如果用ts,导出时候要用 defineComponent,这俩是配对的,为了类型的审查正确 阅读全文
posted @ 2020-12-17 09:51 彭成刚 阅读(9534) 评论(0) 推荐(1)
摘要:https://desktop.docker.com/win/stable/Docker%20Desktop%20Installer.exe 安装遇到了 然后 更新 这个 https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update 阅读全文
posted @ 2020-12-16 08:39 彭成刚 阅读(150) 评论(0) 推荐(0)
摘要:![](https://img2020.cnblogs.com/blog/26752/202012/26752-20201214143306523-552939745.png) 阅读全文
posted @ 2020-12-14 14:33 彭成刚 阅读(103) 评论(0) 推荐(0)
摘要:主要是冷启动,实际中项目非常庞大,现在1w的笔记本,每次冷启动,也得等一下,所以准备转型 Vite+Vue3.0,毕竟Vite不支持Vue2.0,这就只能下个项目的时候再启动了。 $ npm init vite-app <project-name> $ cd <project-name> //进入项 阅读全文
posted @ 2020-12-11 09:50 彭成刚 阅读(1294) 评论(0) 推荐(0)
摘要:李昱版 { "editor.fontSize": 20, "workbench.iconTheme": "material-icon-theme", "workbench.colorTheme": "Spacegray Eighties Dark", // "terminal.integrated. 阅读全文
posted @ 2020-12-09 10:51 彭成刚 阅读(119) 评论(0) 推荐(0)
摘要:今天页面突然卡死了,也不知道是因为什么,直连服务器,能行,自己本机nginx的,系统访问某个特定的api就会卡死。 经过尝试,发现今天测试的AutoFill影响的。 阅读全文
posted @ 2020-12-08 17:04 彭成刚 阅读(2773) 评论(0) 推荐(0)
摘要:class asyncTool { constructor () { this.arr = [] this.ctx = {} } use (func) { const into = { func, next: () => {} } this.arr.push(into) if (this.arr.l 阅读全文
posted @ 2020-11-24 14:10 彭成刚 阅读(1393) 评论(0) 推荐(0)
摘要:合并分支前要全部提交 包括config.js 要不merge时候很麻烦 1 切换到master分支 Checkout 2 Merge into Current 3 commit push 4 切换回dev 阅读全文
posted @ 2020-11-20 14:41 彭成刚 阅读(1157) 评论(0) 推荐(0)
摘要:npm config set registry https://registry.npm.taobao.org 阅读全文
posted @ 2020-11-19 11:37 彭成刚 阅读(198) 评论(0) 推荐(0)
摘要:换了新电脑Y7000 10750H,之前的项目提示这个,本以为删个什么文件,搜了一阵,没找到答案。 简单粗暴的方法就是再git clone一下,就ok了,这点很不爽。暂时先这么解决了。 阅读全文
posted @ 2020-11-19 10:04 彭成刚 阅读(2416) 评论(0) 推荐(0)
摘要:withCredentials: false, 默认值虽然是false,但是之前包装的时候设置成true了,所以最后再设置回来 阅读全文
posted @ 2020-11-10 16:20 彭成刚 阅读(887) 评论(0) 推荐(0)
摘要:进入dist目录 "build:war": "cd dist && jar -cvf ../yourName_web.war *", 阅读全文
posted @ 2020-11-06 12:12 彭成刚 阅读(595) 评论(0) 推荐(0)

上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 27 下一页