Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

379 B
Raw Blame
import { blocks as originBlocks } from './registry/index'

const blocks = originBlocks.map((item) => {
  const newItem = { ...item }
  newItem.files = newItem.files?.map((file: any) => {
    if (file.path.startsWith('registry/')) {
      return { ...file, path: `node_modules/@supabase/vue-blocks/${file.path}` }
    }
    return file
  })
  return newItem
})

export { blocks }