Getting a local preview of the Real Estate Template takes less than five minutes. The project usesDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Ozcaar/real-estate-template/llms.txt
Use this file to discover all available pages before exploring further.
pnpm as its package manager and ships a postinstall script that runs nuxt prepare automatically, so after a single install command the TypeScript types and Nuxt auto-imports are fully generated and your editor’s IntelliSense is ready to go.
Prerequisites
Before you begin, make sure you have the following installed on your machine:- Node.js 18 or later — Nuxt 4 requires Node 18+. Check with
node -v. - pnpm — Install with
npm install -g pnpmif you don’t have it. Check withpnpm -v. - Git — For cloning the repository.
Setup
Install all dependencies with
pnpm. The postinstall hook runs nuxt prepare automatically, so you do not need to run it separately.nuxt prepare generates the .nuxt/ directory, which contains TypeScript type declarations for auto-imported composables, components, and Nuxt’s runtime internals. Your IDE will not have accurate IntelliSense until this step completes.Open your browser and navigate to
http://localhost:3000. You should see the landing page with the default agency branding — “Real Estate Agency” — and sample property, development, and agent data already populated.All agency-specific settings live in a single file:
app/config/agencies/default.agency.ts. Open it and replace the placeholder values with your agency’s real information. No component editing is required.// app/config/agencies/default.agency.ts
import type { AgencyConfig } from '~/types/agency.types'
export const defaultAgencyConfig: AgencyConfig = {
id: 'default',
name: 'Real Estate Agency',
slogan: 'Find your ideal property',
logo: '/images/logo.svg',
favicon: '/favicon.ico',
// Reference a theme by ID — must match a file in app/themes/
theme: 'default',
defaultLocale: 'en',
availableLocales: ['en', 'es'],
currency: 'USD',
measurementUnit: 'metric',
contact: {
phone: '1-800-555-1234',
whatsapp: '1-800-555-1234',
email: 'example@email.com',
address: '123 Main Street, Anytown, USA',
businessHours: 'Mon-Fri 9am-5pm',
},
social: {
facebook: 'http://www.facebook.com/youragency',
instagram: 'http://www.instagram.com/youragency',
linkedin: 'http://www.linkedin.com/youragency',
tiktok: 'http://www.tiktok.com/youragency',
youtube: 'http://www.youtube.com/youragency',
},
// Toggle entire site sections on/off — no component edits needed
modules: {
properties: true,
developments: true,
agents: true,
blog: false,
testimonials: true,
contact: true,
},
}
To rebrand the site for a different agency without losing the default config, create a new file (e.g.,
app/config/agencies/acme.agency.ts), copy the shape above, fill in the new values, and update the import in app/config/site.config.ts to point at the new file. The active agency is resolved from that single import — no other file needs to change.The template reads the base URL for canonical links, Open Graph URLs, and absolute sitemap entries from an environment variable. Create a
.env file at the project root:Building for Production
The template supports both server-side rendering and full static export.- SSR / Node build
- Static export
Run a standard Nuxt production build. This outputs a Node.js server bundle to Preview the built output locally with:
.output/server/.Available Scripts
Every script inpackage.json is listed below for reference.
| Script | Command | Description |
|---|---|---|
dev | nuxt dev | Start the hot-reloading development server on localhost:3000 |
build | nuxt build | Compile a production server-side rendering bundle |
generate | nuxt generate | Pre-render the full site as static HTML |
preview | nuxt preview | Serve the production build locally for final checks |
lint | eslint . | Run ESLint across the whole project |
lint:fix | eslint . --fix | Run ESLint and auto-fix all fixable violations |
Project Structure
Learn where everything lives — features, config, themes, i18n, and server routes.
Introduction
Read the full overview of the template’s architecture and feature set.