会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
starlog
yume
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
9
10
11
12
13
2021年2月4日
React项目引入Bootstrap
摘要: 在项目根目录: npm install bootstrap --save 在index.js: import 'bootstrap/dist/css/bootstrap.min.css' 选择、调整样式: https://v4.bootcss.com/docs/components/alerts/
阅读全文
posted @ 2021-02-04 16:35 starlog
阅读(706)
评论(0)
推荐(0)
2021年2月3日
React点击事件传参方法
摘要: 方法1: import React from 'react'; import './CommentList.css' class CommentList extends React.Component { constructor(props) { super(props) } handleDelet
阅读全文
posted @ 2021-02-03 17:29 starlog
阅读(671)
评论(0)
推荐(0)
React绑定事件的方法
摘要: import React from 'react' class App extends React.Component { render() { const boss = '李云龙' return ( <div> <h2>独立团团长,{boss}</h2> <Battalion1 boss='张大喵
阅读全文
posted @ 2021-02-03 17:27 starlog
阅读(179)
评论(0)
推荐(0)
让label和其中的文字居中
摘要: html { font-size: 20px; } label { width: 5rem; height: 2rem; display: block; margin: 0 auto; line-height: 2rem; text-align: center; }
阅读全文
posted @ 2021-02-03 17:14 starlog
阅读(1097)
评论(0)
推荐(0)
2021年1月29日
Git新建仓库(包括新电脑连接GitHub)
摘要: 生成公钥密钥: ssh-keygen -t rsa 执行完, 查看 ~/.ssh/ 目录 cd ~/.ssh/ cat ~/.ssh/ ll -a cat id_rsa.pub 上传公钥串: 一般在~/.ssh/id_rsa.pub,拷贝其中的串,赋值到GitHub ssh设置中 mkdir my_
阅读全文
posted @ 2021-01-29 23:19 starlog
阅读(142)
评论(0)
推荐(0)
Git基本操作
摘要: 查看状态: git status 查看本地分支: git branch 查看远程建立跟踪的分支: git branch -r 查看本地分支和远程建立跟踪的分支: git branch -a 把本地所有文件添加到待提交,并建立跟踪: git add . 把本地隐藏文件以外所有文件添加到待提交,并建立跟
阅读全文
posted @ 2021-01-29 23:12 starlog
阅读(66)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
公告