feat: payload cms
This commit is contained in:
@@ -37,6 +37,26 @@ export default buildConfig({
|
||||
importMap: {
|
||||
baseDir: path.resolve(dirname),
|
||||
},
|
||||
components: {
|
||||
graphics: {
|
||||
Logo: '/src/payload/components/Logo',
|
||||
Icon: '/src/payload/components/Icon',
|
||||
},
|
||||
},
|
||||
meta: {
|
||||
titleSuffix: ' – KLZ Cables',
|
||||
icons: [
|
||||
{ rel: 'icon', type: 'image/x-icon', url: '/favicon.ico' },
|
||||
],
|
||||
},
|
||||
},
|
||||
localization: {
|
||||
locales: [
|
||||
{ label: 'Deutsch', code: 'de' },
|
||||
{ label: 'English', code: 'en' },
|
||||
],
|
||||
defaultLocale: 'de',
|
||||
fallback: true,
|
||||
},
|
||||
collections: [Users, Media, Posts, FormSubmissions, Products, Pages],
|
||||
editor: lexicalEditor({
|
||||
|
||||
Reference in New Issue
Block a user