小编osk*_*333的帖子

Apollo 开发工具未显示任何数据

开发工具版本是4,Chrome中的情况与Firefox中的情况相同。"@apollo/client": "^3.5.7",

const createApolloClient = (authToken) => {
  return new ApolloClient({
    link: new HttpLink({
      uri: "https://api2s.geomar.net.pl/v1/graphql",
      headers: {
        Authorization: `Bearer ${authToken}`,
      },
    }),
    cache: new InMemoryCache(),
    connectToDevTools: true, // should not be necessary but added just in case
    defaultOptions: {
      watchQuery: {
        fetchPolicy: "cache-and-network",
        pollInterval: 3000,
      },
    },
  });
};
Run Code Online (Sandbox Code Playgroud)

该应用程序是React + Vitejs,如果有什么区别...不知道从哪里开始调试,请帮忙...

apollo-client

6
推荐指数
1
解决办法
4370
查看次数

如何将 hr 分隔线居中(在 Bootstrap 4 中)

如何将 hr 分隔线居中?由于某种原因,尽管有文本中心引导类,它还是左对齐的。居中前后的文本!\n您可以在此处查看: http: //www.mokado.pl/index.html#about

\n\n
<section class="about page-section bg-primary" id="about">\n      <div class="container">\n        <div class="row justify-content-left">\n          <div class="text col-lg-4 text-center">\n            <h2 class="text-white mt-0">Mokado</h2>\n            <hr class="divider light my-4 text-center" />\n            <p class="text-white mb-4">\n              Ide\xc4\x85 marki Mokado jest po\xc5\x82\xc4\x85czenie estetyki i komfortu... \n            </p>\n            <!-- <a class="btn btn-light btn-xl js-scroll-trigger" href="#services"\n              >Get Started!</a\n            > -->\n          </div>\n        </div>\n      </div>\n    </section>\n
Run Code Online (Sandbox Code Playgroud)\n

frontend styling bootstrap-4

1
推荐指数
1
解决办法
8790
查看次数

标签 统计

apollo-client ×1

bootstrap-4 ×1

frontend ×1

styling ×1