上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 22 下一页
摘要: 1)查看仓库已配置的远程源 >: git remote >: git remote -v 2)查看remote命令帮助文档 >: git remote -h 3)删除远程源 >: git remote remove 源名 eg: git remote remove origin 4)添加远程源 >: 阅读全文
posted @ 2024-01-23 15:46 wellplayed 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 1 创建分支 git branch dev # 创建一个dev分支 2 查看分支 git branch * master # 只有一个master分支 3 切换分支 git checkout dev # 切换到dev分支 4 删除分支(不能自己删自己) git branch -d dev 5 合并分 阅读全文
posted @ 2024-01-22 19:26 wellplayed 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 1 初始化仓库 # 1 初始化仓库 git init # 初始化当前文件夹 git init 文件夹 # 在当前文件夹下创建文件夹,并把新创建的文件夹作为仓库 ——仓库目录下会出现 .git 文件夹,文件夹千万不要删除 2 查看仓库状态 git status git status -s #查看仓库状 阅读全文
posted @ 2024-01-22 14:56 wellplayed 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 在assets文件夹下新建 global.css /* 声明全局样式和项目的初始化样式 */ body, h1, h2, h3, h4, h5, h6, p, table, tr, td, ul, li, a, form, input, select, option, textarea { marg 阅读全文
posted @ 2024-01-22 09:00 wellplayed 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 使用方式如下: 以axios为例: # 在main.js下导入axios import axios from 'axios'; # 全局引用 Vue.prototype.$axios = axios ——以后想使用axios就不用导入了,直接使用this.$axios即可 阅读全文
posted @ 2024-01-19 10:39 wellplayed 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 输入以下指令: pip freeze > requirements.txt pip批量安装: pip install -r requirements.txt 阅读全文
posted @ 2024-01-18 20:29 wellplayed 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 报错原因: 1.settings文件中没有注册app 2.如果注册了,就是django没有识别出来 解决办法: 1.注册app 2.导入models时使用绝对导入 将相对导入方式: from .models import 表名 改为: from app.models import 表名 阅读全文
posted @ 2024-01-18 16:21 wellplayed 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 第一步:管理员连接数据库 mysql -uroot -p密码 第二步:创建账户能够访问的数据库 create database 数据库名 default charset=utf8; 第三步:查看用户 select user,host from mysql.user; 第四步:创建用户 # 授权账号命 阅读全文
posted @ 2024-01-18 14:57 wellplayed 阅读(20) 评论(0) 推荐(0) 编辑
摘要: cmd输入: cnpm install -g @vue/cli ——之后就能使用vue创建项目了 阅读全文
posted @ 2024-01-18 09:39 wellplayed 阅读(4) 评论(0) 推荐(0) 编辑
摘要: cmd输入: npm install -g cnpm --registry=https://registry.npmmirror.com/ 全局配置: npm config set registry https://registry.npmmirror.com/ -g 查看是否更换成功: npm c 阅读全文
posted @ 2024-01-18 09:37 wellplayed 阅读(269) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 22 下一页