Installation
Requirements
Section titled “Requirements”Drizzle orm configuration
Section titled “Drizzle orm configuration”you need to include this in it schema: ['./src/db/schema.ts', '../../node_modules/@holtbosse/purplepanda/dist/db/schema.js'],
Your astro.config.mjs file
Section titled “Your astro.config.mjs file”options
Section titled “options”enabled: booleandb: drizzle orm db instancemediaPath: a place where PurplePanda can store media assetspuckConfigModule: path to your Puck Editor file
Sample
Section titled “Sample”integrations: [ purplePandaIntegration({ enabled: true, db: db, mediaPath: fs.realpathSync('./media/'), puckConfigModule: './src/puck/config.tsx', }), react() ],