<Helmet> <title>Best Hospital in India – Medical Tourism Company | Trusted hospitals</title> <meta name="title" content="Best Hospital in India – Medical Tourism Company | Trusted hospitals" /> <meta name="description" content="Listed with best hospitals in India, VBcuremart is your medical travel partner which works with top doctors in the best hospitals to give you quality treatment." /> </Helmet>
我已经创建了CRA应用程序,我需要根据页面更新元标记。
我使用了react-helmet,但是SEO工具无法找到元标题和描述
我已经实现了从react-helmet导入的头盔标签。 在那,我添加了元标题标签和描述标签。
我需要根据显示页面更新元标记
答案 0 :(得分:0)
u可以从以下位置使用称为react-document-meta检查文档的dep:https://www.npmjs.com/package/react-document-meta