Skip to content

Installation

  1. Astro react integration
  2. Drizzle orm

you need to include this in it schema: ['./src/db/schema.ts', '../../node_modules/@holtbosse/purplepanda/dist/db/schema.js'],

  • enabled: boolean
  • db: drizzle orm db instance
  • mediaPath: a place where PurplePanda can store media assets
  • puckConfigModule: path to your Puck Editor file
integrations: [
purplePandaIntegration({
enabled: true,
db: db,
mediaPath: fs.realpathSync('./media/'),
puckConfigModule: './src/puck/config.tsx',
}),
react()
],