Next.js Discord

Discord Forum

Showing next/font error while hosting on cloudflare

Unanswered
Masai Lion posted this in #help-forum
Open in Discord
Masai LionOP
Hey I am trying to host it in Cloudflare and showing next/font and tailwind postcss error and after that i tried on Firebase app hosting still showing same error but working on vercel

postcss.config.mjs
const config = { plugins: { "@tailwindcss/postcss": {} }, }; export default config;

/lib/utils.js
import { Salsa } from "next/font/google" export const salsaFont = Salsa({ weight: '400', subsets: ['latin'], })

0 Replies