Sloaix
Sloaix
Try my way. first update your iris to master latest. ```go get github.com/kataras/iris/v12@master ``` then ```go //go:embed dist/* var embedWeb embed.FS fsys, _ := fs.Sub(embedWeb, "dist") app.RegisterView(iris.HTML(http.FS(fsys), ".html")) app.HandleDir("/", http.FS(fsys))...
better way: ```go //go:embed dist/* var embedWeb embed.FS fsys := iris.PrefixDir("dist", http.FS(embedWeb)) app.RegisterView(iris.HTML(fsys, ".html")) app.HandleDir("/", fsys) ```
我觉得用golang来写,做成一个命令行工具会更好,直接编译成可执行文件,只要主库的结构不更新,可以一直使用.
我也写了个轮子,依赖你库,使用GitHub Actions每天构建生成一个Sqlite3的数据库文件. 仓库地址:https://github.com/Sloaix/ChinesePoetryToSqlite
发送的TAG是一样的吗?
发送前先确认另外一个Fragment已经Bind了Apollo,如果发送的时候Bind还未被执行,也是接收不到的。这个时候请使用@Stick注解,同时emit加上stick = true的参数。 建议你断点看一下。
我明天写个demo看一下。
front-end: Gofi/gofi-frontend/src/i18n back-end: Gofi/gofi-backend/i18n Currently, the multi-language support is not perfect. Besides modifying the translation files, we also need to modify the code. Could you tell me which language you...
A few minutes ago, i migrated the router from reach router to react router V6. In the next time, I can try to add the language you want gofi to...
I plan to improve the document tomorrow, but I need to upgrade a latest docker image tag for master branch to match the new document.