问题完全基于意见,我需要一些指导来开始 .

门户网站使用 webcomponents (shadowRoot), node.jslesswebpack 构建 . 来自后端(微服务)的数据以 json 格式接收 .

我查看了一些用于网页报废的 npm 软件包,但有没有办法在不使用任何外部软件包的情况下在webcomponents和json数据中进行搜索 .

How should I implement search that works throughout the portal ? Which data should I consider for search - data received from microservices or content on page ? Can we search withing shadowRoot webcomponents ?