Open alaister opened 2 years ago
I'm not a tailwind wizard, but was thinking, maybe we can share tailwind setup with https://github.com/vercel/nextjs-subscription-payments ?
i'm interested to know if anyone has succeffully migrated this config to app router.
I'm a good day into this error:
Import trace for requested module: ./styles/globals.css ./app/layout.tsx ⨯ ./styles/globals.css Module parse failed: Unexpected character '@' (1:0)
@tailwind base;
| @tailwind components; | @tailwind utilities;
i've got everything but the sink in my content array:
module.exports = ui({
content: [
'./app///*.{js,ts,jsx,tsx,mdx}', // Note the addition of the app
directory.
'./app//*.{js,ts,jsx,tsx,mdx}',
'./pages/*/.{js,ts,jsx,tsx,mdx}',
'./components//.{js,ts,jsx,tsx,mdx}',
'./lib/.{js,ts,jsx,tsx,mdx}',
'./styles/*/.{js,ts,jsx,tsx,mdx,css}',
'./_blog/*.mdx',
'./node_modules/@supabase/ui/dist/config/default-theme.js',
Currently, this example is using the same tailwind setup as the https://github.com/supabase/supabase.
It would be better if this example didn't require a custom tailwind config and was more generalised.