摘要: 1、下载 BaGet ,地址:https://github.com/loic-sharma/BaGet/releases 项目地址:https://github.com/loic-sharma/BaGet/ 2、解压,在 appsettings.json 文件中可配置密钥(见下面代码块,默认无),然 阅读全文
posted @ 2020-12-29 09:51 涓河樵 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 1、新建 net core api 项目 2、新建自定义的文件流类 public class ResFileStream : FileStream { public ResFileStream(string path, FileMode mode, FileAccess access) : base 阅读全文
posted @ 2020-12-29 09:25 涓河樵 阅读(880) 评论(0) 推荐(0) 编辑
摘要: 添加以下中间件即可 app.Use(async (context, next) => { var token = context.RequestAborted; var response = context.Response; IFileProvider fileProvider = new Phy 阅读全文
posted @ 2020-12-29 09:13 涓河樵 阅读(426) 评论(0) 推荐(2) 编辑
摘要: 1、安装 npm install angular2-toaster 地址:https://github.com/stabzs/Angular2-Toaster demo地址:http://plnkr.co/edit/hkENUhos6q9fhiOHprXO?p=preview&preview 2、在 阅读全文
posted @ 2020-12-29 09:02 涓河樵 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 1、安装 @visurel/iconify-angular 组件地址:https://github.com/visurel/iconify-angular https://iconify.design/ 2、package.json 中显示 "@visurel/iconify-angular": " 阅读全文
posted @ 2020-12-29 08:47 涓河樵 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 1、前提除颜色样式外其他样式均使用 tailwindcss (https://tailwindcss.com/docs),效果 2、样式 scss .x-bg-gray-300 { background-color: #d1d5db; } .x-bg-gray-400 { background-co 阅读全文
posted @ 2020-12-29 08:27 涓河樵 阅读(367) 评论(0) 推荐(0) 编辑