上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: 上传 jar 至本地 maven 仓库 mvn install:install-file \ -Dfile=/home/tongweb-embed-7.0.E.2_P1.jar \ -DgroupId=com.tongtech -DartifactId=tongweb-embed \ -Dversi 阅读全文
posted @ 2023-03-01 10:37 egu0o 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 注册全局组件 使用 Vue.component(...) 的方式创建全局组件,注册属性,创建模版 props 属性:父组件传递数据到子组件。高级内容:Prop属性、Prop验证等 this.$emit:将事件传递给父级组件 <slot></slot>:插槽 <div id="app"> <butto 阅读全文
posted @ 2023-02-28 22:34 egu0o 阅读(79) 评论(0) 推荐(0) 编辑
摘要: Vue版本: V2: https://cn.vuejs.org/v2/guide/installation.html V3: https://v3.cn.vuejs.org/guide/introduction.html Vue CLI: vue-cli:https://github.com/vue 阅读全文
posted @ 2023-02-28 22:29 egu0o 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 模块化与 npm 前端JS:与浏览器交互 后端Node.js:在服务器(和系统进行交互)端运行JS、跨平台 Node 是对 ES 标准一个实现,Node 也是一个 JS 引擎通过 Node 可以使 JS 代码在服务器端执行 Node 仅仅对 ES 标准进行了实现,所以在 Node 中不包含 DoM 阅读全文
posted @ 2023-02-28 22:21 egu0o 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 安装依赖: npm install superagent cheerio --save 同步代码: const superagent = require('superagent') const cheerio = require('cheerio') const fs = require('fs') 阅读全文
posted @ 2023-02-19 23:01 egu0o 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 回调函数 ES5:使用回调函数处理异步执行的结果 setTimeout(() => { console.log('1') setTimeout(() => { console.log('2') setTimeout(() => { console.log('3') //.... }, 1000) } 阅读全文
posted @ 2023-02-19 22:49 egu0o 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 准备 创建 & 运行项目,请参考 VuePress(v1):https://v1.vuepress.vuejs.org/zh/guide/ 构建和推送静态网站 使用 npm 构建静态网站并将其推送到 Gitee Pages 页面服务托管的分支 方式一:shell 脚本 if [ ! -e packa 阅读全文
posted @ 2023-02-14 22:22 egu0o 阅读(68) 评论(0) 推荐(0) 编辑
摘要: 场景:执行 docker run 失败 报错:Error starting userland proxy: listen tcp6 [::]:: socket: address family not supported by protocol. 一个解决方法: 即修改命令,指定 ipv4 格式的地址 阅读全文
posted @ 2023-02-06 17:16 egu0o 阅读(381) 评论(0) 推荐(0) 编辑
摘要: 不同的角色:开发人员、运维团队、DevOps 工程师 开发团队和 IT 运维团队的技能要求和工作目标可能都不相同。开发人员希望给应用增加新功能,而运维团队的重点则是在应用发布之后保持其稳定性。 DevOps 的核心就是流程的统一和自动化,所以 DevOps 工程师在组合代码、应用维护和应用管理方面发 阅读全文
posted @ 2023-02-04 17:06 egu0o 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 安装思源笔记 su - cd mkdir sy-space chown -R 1000:1000 /root/sy-space docker run -v /root/sy-space:/siyuan/workspace -p 6806:6806 -u 1000:1000 b3log/siyuan 阅读全文
posted @ 2023-02-04 05:51 egu0o 阅读(738) 评论(0) 推荐(1) 编辑
上一页 1 2 3 4 5 6 ··· 9 下一页