API 浏览器
使用 Quasar 进行 SEO

SEO 指的是搜索引擎优化。Quasar 也通过 Quasar Meta 插件 涵盖了这方面。

¥The term SEO refers to Search Engine Optimization. And Quasar covers this aspect too through the Quasar Meta Plugin.

Quasar Meta 插件(Quasar Meta Plugin)

¥Quasar Meta Plugin

Quasar Meta 插件 可以动态更改页面标题、管理 <meta> 标签、管理 <html><body> DOM 元素属性、在文档头部添加/删除/更改 <style><script> 标签(例如,对于 CDN 样式表或 json-ld 标记很有用),或管理 <noscript> 标签。

¥The Quasar Meta Plugin can dynamically change page title, manage <meta> tags, manage <html> and <body> DOM element attributes, add/remove/change <style> and <script> tags in the head of your document (useful for CDN stylesheets or for json-ld markup, for example), or manage <noscript> tags.

充分利用此功能,并将其与 Quasar CLI 结合使用,尤其是在 SSR(服务器端渲染)构建中。请注意,对于 SPA(单页应用),元标记是在运行时添加的,而不是像 SSR 构建那样由 Web 服务器直接提供。

¥Take full advantage of this feature by using it with Quasar CLI, especially for the SSR (Server-Side Rendering) builds. Note that for a SPA (Single Page Applications) the meta tags are added at runtime and not supplied directly by the webserver (as with SSR builds).

提示

此 Quasar 插件与 Quasar 集成最紧密,因此与任何其他类似解决方案相比,它具有最佳性能。

¥This Quasar plugin has the most tight integration with Quasar and so it has the best performance against any other similar solution.