mirror of
https://github.com/withastro/astro.git
synced 2025-01-20 22:12:38 -05:00
16 lines
267 B
JavaScript
16 lines
267 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
import { db, field } from '@astro/db';
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
integrations: [db()],
|
|
db: {
|
|
collections: {
|
|
Author: {
|
|
fields: {
|
|
name: field.text(),
|
|
},
|
|
}
|
|
}
|
|
}
|
|
});
|