AnteeHub
AnteeHub
> > 都停更2年了,准备换框架了 > > 有代替方案吗? JD 的 NutUI 可能还行,不过主要是面向 Vue 的,React 官方支持没有那么快
## 一个简单的 hack 你可以自行编写一个 input 组件,然后点击搜索时利用 `docusaurus/router` 的路由能力跳转到 `/search` ,查询的内容(以“xxx”为例子)使用 url params 携带,一个例子如下: `your-site-name/search?q=xxx` 这样可以跳转到插件内置的搜索结果页。 ## 为什么这么做? 由于这个插件没有暴露出内部的 api 或者搜索框组件,所以不能在外部直接调用这部分的能力。
> is it possible to run swizzle command on this plugin? I try this: `npm run swizzle @easyops-cn/docusaurus-search-local SearchBar -- --danger` but it's not working seems nope I tried to...
> 我们应该包括对其他 git 提供程序的支持,例如 BitBucket 和 GitLab。 Agree with supporting gitlab
是否会考虑开放预览状态下图片的自定义渲染能力? 比如我想在图片上渲染一些浮动的按钮,但目前提供的 Image API 并不支持自定义的渲染。 想做成的效果如下图中黄色框框选出来的按钮一样(图片来自 dribbble): 