skip to Main Content

Css – The `px-3` class does not exist. If `px-3` is a custom class, make sure it is defined within a `@layer` directive

I have a very simple tailwind.config.js file defined as follows: const defaultTheme = require('tailwindcss/defaultTheme'); /** @type {import('tailwindcss').Config} */ module.exports = { content: ['./src/**/*.{js,jsx,ts,tsx}'], presets: [], darkMode: 'media', // or 'class' theme: { fontFamily: { sans: ['var(--font-satoshi)', ...defaultTheme.fontFamily.sans], }, }, plugins:…

VIEW QUESTION
Back To Top
Search