added project collection
This commit is contained in:
@@ -10,6 +10,7 @@ import sharp from 'sharp'
|
||||
import { Users } from './collections/Users'
|
||||
import { Media } from './collections/Media'
|
||||
import { Page } from './collections/Page'
|
||||
import { Projects } from './collections/Projects'
|
||||
|
||||
const filename = fileURLToPath(import.meta.url)
|
||||
const dirname = path.dirname(filename)
|
||||
@@ -21,7 +22,7 @@ export default buildConfig({
|
||||
baseDir: path.resolve(dirname),
|
||||
},
|
||||
},
|
||||
collections: [Users, Media, Page],
|
||||
collections: [Page, Projects, Users, Media],
|
||||
editor: lexicalEditor({
|
||||
features: ({ defaultFeatures, rootFeatures }) => [
|
||||
...defaultFeatures,
|
||||
|
||||
Reference in New Issue
Block a user