上一页 1 ··· 9 10 11 12 13
摘要: 在项目根目录: 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 阅读(699) 评论(0) 推荐(0) 编辑
摘要: 方法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 阅读(651) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(1049) 评论(0) 推荐(0) 编辑
摘要: 生成公钥密钥: 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 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 查看状态: git status 查看本地分支: git branch 查看远程建立跟踪的分支: git branch -r 查看本地分支和远程建立跟踪的分支: git branch -a 把本地所有文件添加到待提交,并建立跟踪: git add . 把本地隐藏文件以外所有文件添加到待提交,并建立跟 阅读全文
posted @ 2021-01-29 23:12 starlog 阅读(58) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13