We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, we're new to using next-plausible and just installed v3.7.1.
next-plausible
We followed the instructions here for our _app.js file:
_app.js
<PlausibleProvider domain="domain.com" enabled={true}> <Component {...pageProps} /> </PlausibleProvider>
We're using next dev to run both locally and in prod.
next dev
We're getting this error in the browser console, both locally and in prod:
Any pointers you have would be appreciated! We also followed the Troubleshooting guide in the Plausible docs but got stuck there as well.
The text was updated successfully, but these errors were encountered:
Hi @jtiulentino!
Can you please paste your next.config.js file?
next.config.js
Sorry, something went wrong.
sure thing!
const { withPlausibleProxy } = require("next-plausible"); /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, swcMinify: true, webpack: (config, { isServer }) => { if (isServer) { require("./sitemap-utils/generate-sitemap"); } return config; }, images: { domains: [ "storage.googleapis.com", "cdn.sanity.io", "***.supabase.co", ], }, experimental: { fontLoaders: [{ loader: "@next/font/google", options: { subsets: ["latin"] } }], }, }; module.exports = withPlausibleProxy()(nextConfig);
No branches or pull requests
Hi, we're new to using
next-plausible
and just installed v3.7.1.We followed the instructions here for our
_app.js
file:We're using
next dev
to run both locally and in prod.We're getting this error in the browser console, both locally and in prod:
Any pointers you have would be appreciated! We also followed the Troubleshooting guide in the Plausible docs but got stuck there as well.
The text was updated successfully, but these errors were encountered: