更改店面的标题

Change the title of storefront

我已经在标签 2.11.1 上查看了最新的稳定版本。如 2.11.1 read-me 文件所述:

  • saleor-storefront/src/index.html - Main template file that contains the <div id="root"></div> - Can change title of storefront here

我已经按照上面的建议更改了店面标题并由 npm run build 构建。然后部署到远程服务器。

问题

一瞬间,店面标题竟然如我所愿:

但是,片刻之后,标题恢复为:

我错过了什么?

只有主页

当我导航到除主页以外的任何页面时,标题都设置为我在 src/core/config.ts 文件中的标题。但是导航到首页,出现了上面的问题!

问题已解决!

Saleor 仪表板允许通过 CONFIGURATION > Site SettingsName of your store 输入字段更改店面标题:

即使在站点设置中更改商店名称后仍然存在同样的问题。