改新主题之前的提交
This commit is contained in:
+18
-1
@@ -15,6 +15,7 @@ import { Downloads } from './payload/collections/Downloads'
|
||||
import { FAQs } from './payload/collections/FAQs'
|
||||
import { Dealers } from './payload/collections/Dealers'
|
||||
import { News } from './payload/collections/News'
|
||||
import { NewsCategories } from './payload/collections/NewsCategories'
|
||||
import { Redirects } from './payload/collections/Redirects'
|
||||
import { Users } from './payload/collections/Users'
|
||||
import { ProductVideos } from './payload/collections/ProductVideos'
|
||||
@@ -27,7 +28,11 @@ import { GlobalSettings } from './payload/globals/GlobalSettings'
|
||||
import { AboutPage } from './payload/globals/AboutPage'
|
||||
import { SupportPage } from './payload/globals/SupportPage'
|
||||
import { ContactPage } from './payload/globals/ContactPage'
|
||||
import { ContactUsPage } from './payload/globals/ContactUsPage'
|
||||
import { DealersPage } from './payload/globals/DealersPage'
|
||||
import { NewsPage } from './payload/globals/NewsPage'
|
||||
import { WarrantyPage } from './payload/globals/WarrantyPage'
|
||||
import { ProductsPage } from './payload/globals/ProductsPage'
|
||||
|
||||
const filename = fileURLToPath(import.meta.url)
|
||||
const dirname = path.dirname(filename)
|
||||
@@ -54,6 +59,7 @@ export default buildConfig({
|
||||
Downloads,
|
||||
FAQs,
|
||||
Dealers,
|
||||
NewsCategories,
|
||||
News,
|
||||
ProductVideos,
|
||||
ProductReviews,
|
||||
@@ -62,7 +68,18 @@ export default buildConfig({
|
||||
OemRequests,
|
||||
Redirects,
|
||||
],
|
||||
globals: [Homepage, GlobalSettings, AboutPage, SupportPage, ContactPage, WarrantyPage],
|
||||
globals: [
|
||||
Homepage,
|
||||
GlobalSettings,
|
||||
AboutPage,
|
||||
ContactUsPage,
|
||||
SupportPage,
|
||||
ContactPage,
|
||||
WarrantyPage,
|
||||
ProductsPage,
|
||||
NewsPage,
|
||||
DealersPage,
|
||||
],
|
||||
localization: {
|
||||
locales: [
|
||||
{ label: 'English', code: 'en' },
|
||||
|
||||
Reference in New Issue
Block a user