会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
myEsn2E9's Notepad
...
博客园
首页
联系
订阅
管理
上一页
1
2
3
4
5
6
···
18
下一页
2022年8月31日
arco-design-vue 按需引入+自动 import+模板组件提示
摘要: 非常感谢 番薯有才 在飞书中的回复,以下核心步骤均由他提供: 使用 vite 创建一个 vue-ts 类型的项目,并安装所需的最小依赖: yarn create vite arco-design-vue-auto-import-tests --template vue-ts cd arco-desi
阅读全文
posted @ 2022-08-31 20:12 myEsn2E9
阅读(3870)
评论(0)
推荐(0)
2022年8月30日
修改 ubuntu server 每次登录后的提示信息
摘要: https://linuxconfig.org/how-to-change-welcome-message-motd-on-ubuntu-18-04-server
阅读全文
posted @ 2022-08-30 17:08 myEsn2E9
阅读(106)
评论(0)
推荐(0)
2022年8月24日
git 上传空目录,并忽略该空目录中产生的文件变更
摘要: 在空目录下新增 .gitkeep 的空文件 然后在 .gitignore 文件中新增: # Custom /xxdir/a
阅读全文
posted @ 2022-08-24 18:34 myEsn2E9
阅读(28)
评论(0)
推荐(0)
add chmod permissions to file in Git
摘要: 在 ubuntu 中如果对某个文件进行了加权限操作,比如 sudo chmod +x up.sh,那么这个操作会产生 git 文件变更,导致 git 会产生未提交的更改,通过以下方式,将文件的 executable 权限加到 git 中,就可以自动给该文件授予 executable 权限: http
阅读全文
posted @ 2022-08-24 18:31 myEsn2E9
阅读(26)
评论(0)
推荐(0)
2022年8月9日
Validation decorators of class-validator
摘要: Common | Decorator | Description | | | | | @IsDefined(value: any) | Checks if value is defined (!== undefined, !== null). This is the only decorator t
阅读全文
posted @ 2022-08-09 11:02 myEsn2E9
阅读(1662)
评论(0)
推荐(0)
2022年8月7日
使用 Vite 提供的常见模板创建项目
摘要: Scaffolding Your First Vite Project https://github.com/vitejs/vite/tree/main/packages/create-vite
阅读全文
posted @ 2022-08-07 18:47 myEsn2E9
阅读(33)
评论(0)
推荐(0)
Use Vite for React Apps instead of CRA
摘要: Migration CRA to Vite | New React App using Vite
阅读全文
posted @ 2022-08-07 18:43 myEsn2E9
阅读(16)
评论(0)
推荐(0)
2022年7月30日
nestjs + mongoose discriminators(鉴别器架构)
摘要: 简介 Discriminators:鉴别器是一种模式继承机制。它们使您能够在同一个基础 MongoDB 集合之上拥有多个具有重叠模式的模型。 实现步骤 创建基类 Schema // event.schema.ts import { Document } from 'mongoose'; import
阅读全文
posted @ 2022-07-30 11:32 myEsn2E9
阅读(200)
评论(0)
推荐(0)
2022年7月5日
change git commit message
摘要: https://linuxize.com/post/change-git-commit-message git push --force <remoteName> <branchName> // remoteName: origin
阅读全文
posted @ 2022-07-05 20:19 myEsn2E9
阅读(20)
评论(0)
推荐(0)
2022年6月14日
yarn global add 后找不到命令
摘要: windows 启动 cmd,执行 yarn global bin 命令,然后在系统环境变量的 Path 中添加刚刚命令输出的路径。 ubuntu 执行以下命令修复: sudo nano ~/.bash_profile # 将此行添加到 ~/.bash_profile 文件中 export PATH
阅读全文
posted @ 2022-06-14 10:34 myEsn2E9
阅读(242)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
18
下一页
公告