supabase-community / partner-gallery-example

Supabase Partner Gallery Example
https://supabase.com/partners
MIT License
108 stars 30 forks source link

Remove custom tailwind setup #1

Open alaister opened 2 years ago

alaister commented 2 years ago

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.

thorwebdev commented 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 ?

optonpo commented 3 months ago

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',