Customization

Customization

This page lists the most common places to edit when turning NextDevTpl into your own SaaS.

Branding

EditPath
Site name, URL, metadatasrc/config/site.ts
Logopublic/logo.svg and header components
Global stylessrc/app/globals.css
Open Graph image templatesrc/features/shared/components/og-image-template.tsx
AreaPath
Header and footersrc/config/nav.ts
Dashboard sidebarsrc/config/nav.ts and src/features/dashboard/components/sidebar.tsx
Admin sidebarsrc/config/nav.ts and src/features/admin/components/admin-sidebar.tsx

Landing page

Marketing sections live in:

src/features/marketing/components

The home route is:

src/app/[locale]/(marketing)/page.tsx

Most copy comes from:

messages/en.json
messages/zh.json

Pricing and plans

EditPath
Plan names and limitssrc/config/subscription-plan.ts
Payment product mappingsrc/config/payment.ts
Pricing section UIsrc/features/marketing/components/pricing-section.tsx
Subscription UIsrc/features/subscription

Product modules

Add new product code under:

src/features/<your-feature>

Recommended shape:

src/features/example/
├── actions.ts
├── components/
├── schemas/
├── types.ts
└── index.ts

Keep route-specific composition in src/app and reusable business logic inside the feature module.

Content

ContentPath
Docssrc/content/docs/<locale>
Blogsrc/content/blog/<locale>
Legalsrc/content/legal/<locale>
PSEO datasrc/features/pseo/data/pseo-pages.json

Before committing customizations

pnpm typecheck
pnpm lint

Run focused tests if you changed auth, credits, payments, storage, support, or jobs.

On this page