上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 30 下一页
摘要: 详见:https://blog.csdn.net/samll_snail/article/details/86534719 。 阅读全文
posted @ 2019-09-04 16:44 James2019 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 转:https://www.jianshu.com/p/feef5e62dd67 阅读全文
posted @ 2019-08-28 10:30 James2019 阅读(8603) 评论(0) 推荐(0) 编辑
摘要: egg-swagger-doc 1. 安装 npm i egg-swagger-doc --save // {app_root}/config/plugin.js exports.swaggerdoc = { enable: true, package: 'egg-swagger-doc', }; 阅读全文
posted @ 2019-08-12 16:27 James2019 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 开发用最多的是重启再刷新页面,那热更新少不了, 工具有很多常用唯 nodemon 了, 安装: 使用: 官方文档:https://www.npmjs.com/package/nodemon 大神整理: https://www.cnblogs.com/chris-oil/p/6239097.html 阅读全文
posted @ 2019-08-10 23:05 James2019 阅读(477) 评论(0) 推荐(0) 编辑
摘要: 如下: nodeServer.js 下面用pm2管理,及常用 当然也可配置json文件,来启用管理 PM2 文档: http://pm2.keymetrics.io/docs/usage/quick-start/#usage 阅读全文
posted @ 2019-07-29 10:32 James2019 阅读(438) 评论(0) 推荐(0) 编辑
摘要: centos 宝塔面版 运行 thinkjs 几点要注意的地方: 1. https ssl 如图 2. thinkjs 运行子目录在/www如图配置: 3. 代理配置(展示查看配置) server { listen 80; listen 443 ssl http2; server_name doma 阅读全文
posted @ 2019-07-26 17:09 James2019 阅读(871) 评论(0) 推荐(0) 编辑
摘要: https://segmentfault.com/a/1190000013277690?utm_source=tag-newest 阅读全文
posted @ 2019-07-19 11:39 James2019 阅读(114) 评论(0) 推荐(0) 编辑
摘要: js 跳转到 百度指定地址定位点 API: http://lbsyun.baidu.com/index.php?title=uri/api/web 坐标转换服务 坐标转换服务 坐标转换服务是一类Web API接口服务;用于将常用的非百度坐标(目前支持GPS设备获取的坐标、google地图坐标、sos 阅读全文
posted @ 2019-07-04 20:52 James2019 阅读(1118) 评论(0) 推荐(0) 编辑
摘要: webpack loader原理 由于webpack是基于Node的所以webpack只能识别.js文件,所以针对其他的文件就需要转译,这时候就需要用到我们的loader了。 https://blog.csdn.net/weixin_43534005/article/details/89743577 阅读全文
posted @ 2019-06-23 00:11 James2019 阅读(183) 评论(0) 推荐(0) 编辑
摘要: a.js 或者: a.js export跟export default 有什么区别呢?如下: 1、export与export default均可用于导出常量、函数、文件、模块等2、你可以在其它文件或模块中通过import+(常量 | 函数 | 文件 | 模块)名的方式,将其导入,以便能够对其进行使用 阅读全文
posted @ 2019-06-19 21:37 James2019 阅读(165) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 30 下一页