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