我在使用多个上下文和还原剂的反应钩。
这是我的App.js文件
import React from "react";
import { BrowserRouter as Router, Route, Switch } from "react-router-dom";
import Map from "./components/Map";
import Header from "./components/Header";
import Signup from "./components/Auth/Signup";
我有一个Next.js项目,我想使用Google电子商务,但我收到了Missing Ecommerce Data, View is configured for Ecommerce, but no data is flowing.警告信息,我不知道如何解决这个问题。
在GA中启用了电子商务。
我使用博客文章将GA添加到Next.js中。
./lib/gtag.js
export const GA_TRACKING_ID = "UA-xxxxxxxxx-1";
// https://developers.google.com/analytics/devguides/c
我是以编程方式使用graphql codegen的。
import * as typescriptReactApolloPlugin from "@graphql-codegen/typescript-react-apollo";
const config: Types.GenerateOptions = {
documents: [{ document: doc }],
config: {},
// returns the string output, rather than writing to a file
filename: "index.ts
我在学阿波罗。当我运行我的代码时,它在我的浏览器上显示了这个错误,我不知道这是否是我浏览器的问题。有人能帮我修复这条错误信息吗?
./node_modules/@apollo/client/node_modules/optimism/lib/bundle.esm.js
Error: ENOENT: no such file or directory, open 'C:\Users\bijit\OneDrive\Desktop\wrk\JavaScript\pokemon\node_modules\@apollo\client\node_modules\optimism\lib\bund