会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
市丸银
知行合一
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
17
18
19
20
21
22
23
24
25
···
98
下一页
2025年3月15日
Vite创建Vue3
摘要: 1、版本管理(nvm) #显示可下载的列表 nvm list available # 下载 指定版本号 nvm install 版本号 # 查看 已安装版本 nvm list # 切换版本 nvm use 版本号 2、创建命令 npm create vue@latest
阅读全文
posted @ 2025-03-15 10:57 市丸银
阅读(61)
评论(0)
推荐(0)
2025年3月4日
Django 项目打包成 exe
摘要: 一、下载(pyinstaller) pip install pyinstaller 二、生成spec文件 pyi-makespec -D manage.py 三、swagger依赖 1、配置静态文件 # settings.py STATIC_URL = '/static/' STATICFILES_
阅读全文
posted @ 2025-03-04 17:03 市丸银
阅读(473)
评论(0)
推荐(0)
2025年2月27日
Vue 代理 项目实用
摘要: proxy: { [process.env.VUE_APP_BASE_API + '/admin']: { target: 'http://39.98.123.211:8170', changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_A
阅读全文
posted @ 2025-02-27 19:35 市丸银
阅读(33)
评论(0)
推荐(0)
2025年2月21日
Vue 全局api
摘要: 一、设置 main.js // 1.引入 import * as API from '@/api'; new Vue({ render: h => h(App), beforeCreate() { Vue.prototype.$bus = this // 2.原型 Vue.prototype.$AP
阅读全文
posted @ 2025-02-21 10:05 市丸银
阅读(29)
评论(0)
推荐(0)
2025年2月12日
Django项目部署离线服务器
摘要: 一、复制conda环境 1、下载conda-pack(base环境) pip install conda-pack 2、查看conda环境 conda env list 3、切换打包conda环境 conda activate env_name 4、打包conda环境 conda pack -n e
阅读全文
posted @ 2025-02-12 16:02 市丸银
阅读(95)
评论(0)
推荐(0)
2025年2月8日
Vue 获取Dom ref
摘要: <div ref="test"></div> // 获取DOM this.$ref.test
阅读全文
posted @ 2025-02-08 10:27 市丸银
阅读(18)
评论(0)
推荐(0)
2025年1月24日
conda 导入 生成 requirements.txt
摘要: 1、创建环境 conda create -n 环境名 python=版本 2、切换环境 conda activate 环境名 3、导入 pip install -r requirements.txt 4、生成 pip freeze > requirements.txt
阅读全文
posted @ 2025-01-24 18:04 市丸银
阅读(495)
评论(0)
推荐(0)
Django gitignore
摘要: 实用 # 配置文件 .DS_Store .idea/ # 编译文件 __pycache__/ *.py[cod] *$py.class # Django 项目中的日志文件和本地配置文件 *.log local_settings.py db.sqlite3 db.sqlite3-journal # 虚
阅读全文
posted @ 2025-01-24 17:47 市丸银
阅读(114)
评论(0)
推荐(0)
2025年1月14日
JavaScript 随机数生成规则
摘要: 生成x-y Math.round(Math.random()*(y-x)+x)
阅读全文
posted @ 2025-01-14 18:43 市丸银
阅读(40)
评论(0)
推荐(0)
2025年1月11日
npm i 报错
摘要: 1、安装nvm控制node版本 2、下载安装nvm https://nvm.uihtm.com/ 3、清缓存,删依赖,重新下载 npm cache clean --force rm -rf node_modules rm package-lock.json npm install
阅读全文
posted @ 2025-01-11 13:33 市丸银
阅读(42)
评论(0)
推荐(0)
上一页
1
···
17
18
19
20
21
22
23
24
25
···
98
下一页
公告