You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason globals.title and globals.theme are not applied during build. After changing these fields in Directus, the changes are not seen after building the frontend.
In the page metadata, there remain references to 'AgencyOS', making it unsuitable for production.
For example: <meta property="og:site_name" content="AgencyOS">
当我想更改globals.theme时也遇到了同样的问题。以下是我的解决方法:
When I wanted to change globals.theme, I encountered the same problem. Here is my solution:
根据directus的文档,创建websocket连接,并订阅globals,手动对前端信息进行更新。
According to the Directus documentation, create a websocket connection and subscribe to globals, manually updating front-end information.
以下为部分代码:
The following is part of the code: app.vue
For some reason globals.title and globals.theme are not applied during build. After changing these fields in Directus, the changes are not seen after building the frontend.
In the page metadata, there remain references to 'AgencyOS', making it unsuitable for production.
For example:
<meta property="og:site_name" content="AgencyOS">
And:
<script type="application/ld+json" id="schema-org-graph" ... "@type":"WebSite","name":"AgencyOS", ... </script></body></html>
I'm new to Nuxt so I can't quite see where it is going wrong. Any suggestions?
The text was updated successfully, but these errors were encountered: