会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
青竹玉简
无凌云志 何以乾坤 志之所向 无坚不摧
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
22
下一页
2020年6月18日
vue+webpack切换环境和打包之后服务器配置
摘要: 1.环境切换 API_ROOT: '"http://192.168.1.145:92"' const rootUrl = process.env.API_ROOT 2.打包服务器配置 先安装generate-asset-webpack-plugin插件 npm install --save-dev
阅读全文
posted @ 2020-06-18 16:07 青竹玉简
阅读(620)
评论(0)
推荐(0)
2020年6月17日
vue-cli项目开发/生产环境代理实现跨域请求+webpack配置开发/生产环境的接口地址
摘要: 一、开发环境中跨域 使用 Vue-cli 创建的项目,开发地址是 localhost:8080,需要访问非本机上的接口http://10.1.0.34:8000/queryRole。不同域名之间的访问,需要跨域才能正确请求。跨域的方法很多,通常都需要后台配置,不过 Vue-cli 创建的项目,可以直
阅读全文
posted @ 2020-06-17 15:51 青竹玉简
阅读(1461)
评论(0)
推荐(0)
2020年6月3日
Vant底部tabbar盖住内容怎么解
摘要: <router-view />下面增加一个<div style="height: 5rem;"></div> 参考 <template> <div id="app"> <router-view /> <div style="height: 5rem;"></div> </div> </templat
阅读全文
posted @ 2020-06-03 11:25 青竹玉简
阅读(2184)
评论(0)
推荐(0)
Expected indentation of 2 spaces but found 4
摘要: 'indent': ['off', 2]
阅读全文
posted @ 2020-06-03 11:23 青竹玉简
阅读(4257)
评论(0)
推荐(0)
2020年5月29日
VScode本地上传到服务器
摘要: 1.git init //初始git 2.git clone http://xxxx/vosa-element-config.git //克隆项目 3.git remote add origin http:/xxxx/vosa-element-config.git //连接远程项目 4.git br
阅读全文
posted @ 2020-05-29 17:43 青竹玉简
阅读(3567)
评论(0)
推荐(0)
OkGo 拦截器实现更新token
摘要: public class MyApplication extends Application { public static MyApplication INSTANCE; @Override public void onCreate() { super.onCreate(); INSTANCE =
阅读全文
posted @ 2020-05-29 16:06 青竹玉简
阅读(1645)
评论(0)
推荐(0)
Android 开发 启动activity并且将前面activity全部清空
摘要: 方法一 Intent intent = new Intent(A.this,B.class); intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent
阅读全文
posted @ 2020-05-29 14:33 青竹玉简
阅读(560)
评论(0)
推荐(0)
2020年5月26日
Vue项目用于Ios和Android端开发
摘要: vue项目构建 预备 vue中文文档: https://cn.vuejs.org/v2/guide/instance.html 构建工具环境nodejs: http://nodejs.cn 构建工具vue-cli:https://github.com/vuejs/vue-cli 如果是第一次接触vu
阅读全文
posted @ 2020-05-26 16:30 青竹玉简
阅读(3092)
评论(0)
推荐(0)
目前流行前端几大UI框架排行榜
摘要: 一.Mint UI 流行指数:★★★★ Mint UI是 饿了么团队开发基于vue .js的移动端UI框架,它包含丰富的 CSS 和 JS 组件,能够满足日常的移动端开发需要。 官网:https://mint-ui.github.io/#!/zh-cn Github:https://github.c
阅读全文
posted @ 2020-05-26 16:18 青竹玉简
阅读(3901)
评论(0)
推荐(0)
2020年5月22日
vue nginx配置
摘要: server { listen 86; server_name localhost; client_max_body_size 500m; location / { proxy_pass http://192.168.1.145:8080; } location ^~ /api { proxy_pa
阅读全文
posted @ 2020-05-22 17:31 青竹玉简
阅读(933)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
22
下一页