Skip to content

An error occured in next/font that I can't seem to trace #51359

Answered by icyJoseph
shashankdatta asked this question in Help
Discussion options

You must be logged in to vote

Mmm I think the weight as an array is the issue?

weight
The font weight with the following possibilities:

A string with possible values of the weights available for the specific font or a range of values if it's a variable font
An array of weight values if the font is not a variable google font. It applies to next/font/google only.
Used in next/font/google and next/font/local

Required if the font being used is not variable

It is a bit hard to read... but what if you just take "200" as a string?

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@icyJoseph
Comment options

@shashankdatta
Comment options

@icyJoseph
Comment options

@abdullahmehboob20s
Comment options

@shashankdatta
Comment options

Answer selected by shashankdatta
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants