July 2, 2020
angular
pipe
Angular Pipe Pipe的存在,目的在于进行数据的转换。前后端开发,后端提供的数据,不一定刚好就是要展示的数据,前端经常在拿到原始数据后,进行一次或者多次转换,才展示。
内置PipeDatePipe
根据时区格式化
采用默认的格式 1<p>The hero ...
Read more
July 2, 2020
git
Git 安装
点击链接,下载不同的版本安装即可,这里不再赘述了。
123456789 $ git usage: git [--version] [--help] [-C <path>] [-c <name>=<value>] [-- ...
Read more
June 29, 2020
vite
vue3
缓存判断机制:文件路径 + mtime(文件修改时间)✔️ 缓存依赖的组件:ModuleGraph:Vite 内部维护的模块依赖图(在 vite/src/node/server/moduleGraph.ts 中实现)。
每个模块都有:url / ...
Read more
June 29, 2020
vue
vue-cli
vue-cli介绍
vue-cli版本基于4.4.x
Vue CLI 致力于将 Vue 生态中的工具基础标准化
让使用者专注在撰写应用上,而不必花好几天去纠结配置的问题
提供了如下功能:
@vue/cli 交互式的项目脚手架
@vue/cli + @vue/ ...
Read more
June 19, 2020
angular
angular-cli
angular-cli,顾名思义,用于angular应用开发的脚手架,我们可以在命令行执行对应的命令。
angular-cli主版本,跟angular保持一致。譬如angular9 → angular-cli 9
但是,子版本独立的。
@angular/cl ...
Read more