Skip to content

[plugin:vite:css] [postcss] Unexpected token, expected "," after shadcn installed #9985

Closed Answered by renanvalentin
wijayanto1320 asked this question in Q&A
Discussion options

You must be logged in to vote

Check the tailwind.config.ts file.

fontFamily: {
  			sans: [\n          "Inter",\n          "ui-sans-serif",\n          "system-ui",\n          "sans-serif",\n          'Apple Color Emoji"',\n          'Segoe UI Emoji"',\n          'Segoe UI Symbol"',\n          'Noto Color Emoji"',\n        ]
  		},

it should be:

  fontFamily: {
        sans: [
          "Inter",
          "ui-sans-serif",
          "system-ui",
          "sans-serif",
          "Apple Color Emoji",
          "Segoe UI Emoji",
          "Segoe UI Symbol",
          "Noto Color Emoji",
        ],
      },

Replies: 5 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@wijayanto1320
Comment options

@TobiramaSan
Comment options

@thorvn
Comment options

@abba-m
Comment options

Answer selected by wijayanto1320
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@matsuyoshi30
Comment options

Comment options

You must be logged in to vote
0 replies
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
Q&A
Labels
None yet
9 participants