摘要:
需要用到的backed tech stack: Node: JavaScript on the server/backend. That's basically what it is, but more powerful. Express: Routing framework for Node.小的 阅读全文
摘要:
Vue.js大全(包括依赖,插件,好的指导文章等!) 🎉 A curated list of awesome things related to Vue.js https://github.com/vuejs/awesome-vue 关于Validation( 依赖 ) 官网:https://ba 阅读全文
摘要:
按照顺序学习: https://scotch.io/courses/build-an-online-shop-with-vue/hello-world Vue Authentication And Route Handling Using Vue-router Handling Authentica 阅读全文
摘要:
(英文原文) 需要安VueCLI3和nodejs。 在terminal输入vue可以看到命令列表: 其中vue ui [options] 就是用于开始和打开vue-cli ui的命令。 使用http://localhost:8000 端口打开Gui网页: 点击右上角?号 显示一些链接。 如:http 阅读全文
摘要:
系列参考 ,英文原文参考 我的git代码: https://github.com/chentianwei411/Typeahead 目标: 建立一个输入关键字得到相关列表的组件,用Vuejs2和Fetch API 思路: 把一个json数据,fetch到本地。然后用户模糊搜索title, 得到相关的 阅读全文
摘要:
如果喜欢使用lower-level,使用标准的 fetch API. 好处是无需额外的加载一个外部资源。但没有被浏览器完全支持,需要使用polyfill。因此使用Axios的更多一些。 参考Axios的使用: https://www.cnblogs.com/chentianwei/p/9705909 阅读全文
摘要:
对activestorage的简单使用: 头像库:uifaces.co。 可以使用大量设置好的头像图片。 1.安装avatar rails active_storage:install 2.user model建立has_one_attached关联。 3.view上面添加代码:可以查看,修改头像 阅读全文
摘要:
Object-based searching:演示。 git: https://github.com/activerecord-hackery/ransack Gorails视频和我的博客记录:https://www.cnblogs.com/chentianwei/p/9822492.html 对比 阅读全文
摘要:
嵌套的JavaScript评论 Widget Models 创建类似https://disqus.com/ 的插件 交互插件: Real time comments: Adapts your site's lokk and feel,可以自定义的调整界面外观 Rich media commentin 阅读全文
摘要:
Searchkick 🚀 Intelligent search made easy 类似的gem还有ransack GoRails视频 介绍 和 应用 two episodes git 初始化: 首先使用brew安装配套java(用java写的), elasticsearch, 然后还要启动:br 阅读全文