Lite version of the Nexty.dev SaaS Boilerplate based on Next.js. A multilingual Next.js 16 starter with built-in i18n support.
Lite version of the Nexty.dev SaaS Boilerplate based on Next.js. A multilingual Next.js 16 starter with built-in i18n support.
Ship your SaaS faster with Nexty
NEXTY.DEV is a comprehensive Next.js SaaS boilerplate that provides everything developers need to rapidly build and launch modern AI web applications
A feature-rich Next.js 16 multilingual starter template to help you quickly build globally-ready websites.
** Looking for a full-featured SaaS Starter Template? Check out the complete version**
Note: The project has configured
packageManagerfield, we recommend using pnpm for the best experience.
git clone https://github.com/weijunext/nextjs-starter.git
cd nextjs-startercorepack enablepnpm install
# or use other package managers
npm install
yarncp .env.example .envpnpm dev
# or npm run devVisit http://localhost:3000 to view your application.
Basic Setup
config/site.ts for website informationpublic/app/sitemap.ts for sitemapapp/robots.ts for robots.txti18n Setup
i18n/messages/i18n/routing.tsmiddleware.tsapp/[locale]/Link component from i18n/routing.ts instead of Next.js defaultCreate MDX files in blog/[locale] with the following format:
---
title: Post Title
description: Post Description
image: /image.png
slug: /url-path
tags: tag1,tag2
date: 2025-02-20
visible: published
pin: true
---
Post content...Reference types/blog.ts for supported fields.
Manage static page content in content/[page]/[locale].mdx.
Built-in comprehensive SEO features:
Enable analytics by adding IDs in .env:
NEXT_PUBLIC_GOOGLE_ANALYTICS=
NEXT_PUBLIC_BAIDU_TONGJI=
NEXT_PUBLIC_GOOGLE_ADSENSE=…# Build for production
pnpm build
# Start production server
pnpm startpackageManager: "[email protected]"corepack enable# Lint code
pnpm lint
# Type checking
pnpm type-checkAdding new language support:
i18n/messages/i18n/routing.ts configurationblog/ and content/Using translations:
import { useTranslations } from 'next-intl';
export default function MyComponent() {
const t = useTranslations('namespace');
return
{t('title')}
;
}1. Package manager version mismatch
# Remove node_modules and lockfile
rm -rf node_modules pnpm-lock.yaml
# Reinstall
pnpm install2. MDX files not displaying
visible field is set to published3. Internationalization routing issues
Link component from i18n/routing.tsmiddleware.ts configuration4. Styles not working
Ensure .env file contains necessary configuration:
# Copy example config
cp .env.example .env
# Modify as neededMIT
Issues and Pull Requests are welcome!
Next.js full-stack specialist providing expert services in project development, performance optimization, and SEO improvement.
For consulting and training opportunities, reach out at [email protected]
No open issues yet, or sync has not completed.