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
A few days ago, I installed version nuxt-ui:3.0.0-alpha.6, and when I tried to connect my provider as described in the Nuxt Fonts documentation, I encountered build errors.
I conducted an experiment on a clean project and got the same result. Where is my mistake? Or is it a documentation mistake?
nuxt.config.ts
export default defineNuxtConfig({
compatibilityDate: '2024-04-03',
devtools: { enabled: true },
modules: [
'@nuxt/ui',
],
fonts: {
experimental: {
// // Required for TailwindCSS v4. You can enable support for processing CSS variables for font family names. This may have a performance impact.
processCSSVariables: true,
},
providers: {
// You can pass a new custom provider - see more in the providers documentation
// for what this file should look like
custom: '~/providers/custom',
},
},
})
A few days ago, I installed version nuxt-ui:3.0.0-alpha.6, and when I tried to connect my provider as described in the Nuxt Fonts documentation, I encountered build errors.
I conducted an experiment on a clean project and got the same result. Where is my mistake? Or is it a documentation mistake?
nuxt.config.ts
custom.ts
import { defineFontProvider } from 'unifont';
package.json
The text was updated successfully, but these errors were encountered: