Getting started

Installation

Install the dependencies, configure the environment and open the template in your browser.

Requirements

Tool
Version
Notes
Node.js22.22.2+ or 24.15+Node 24 LTS is recommended and .nvmrc pins it for nvm and fnm. engines in package.json also accepts Node 22 from 22.22.2, the minimum the Nuxt and lint dependencies ask for.
npm11It comes with Node 24 (Node 22 ships npm 10, which also works). The project ships a package-lock.json; pnpm and Yarn also work if you prefer them.
BrowserChrome, Edge, Firefox or SafariThe last two versions of each. Playwright uses your installed Chrome for the end-to-end tests.

If you use a version manager, run nvm use (or fnm use) in the project folder to switch to the right Node version.

For the best editor experience use VS Code with the Vue - Official, ESLint and Prettier extensions. The project already includes the ESLint and Prettier configuration.

1. Unpack the project

Unzip the download and open the folder in your terminal:

Terminal
$cd melsami-ui

2. Configure the environment

Environment files live in the env/ folder. Copy the example and edit the values:

Terminal
$cp env/.env.example env/.env
Variable
Used for
Example
NUXT_PUBLIC_APP_NAMEOptional. Overrides BRAND_NAME of config/brand.config.ts, the name in the sidebar, the auth pages and the browser tab.Acme
NUXT_PUBLIC_SITE_URLThe public URL used by the landing page SEO tags and structured data.https://app.example.com
NUXT_PUBLIC_API_BASEThe base URL useApi() prepends to every request.https://api.example.com
NUXT_PUBLIC_DEFAULT_CURRENCYThe ISO 4217 currency used to format amounts.USD

nuxt.config.ts loads env/.env.<NODE_ENV> first and env/.env second. A value set in the first file wins, so keep shared values in env/.env and put the ones that change per environment in env/.env.development or env/.env.production.

Everything here reaches the browser
Variables that start with NUXT_PUBLIC_ are sent to the client. Never put secrets such as API keys or database passwords in them.

3. Install the dependencies

Terminal
$npm install

The postinstall script runs nuxt prepare, which generates the .nuxt/ types that the editor and npm run typecheck need.

4. Start the development server

Terminal
$npm run dev

Open http://localhost:3000. Guests are sent to the login page. Sign in with the demo account or press Try the demo:

Field
Value
Email[email protected]
Passworddemo1234

The demo session is a cookie, so the server knows who is signed in and every page renders on the server. The credentials live in AUTH_DEMO_CREDENTIALS in config/auth.config.ts.

5. Open the documentation (optional)

The documentation you are reading is a separate app in docs-site/. Run it next to the template:

Terminal
$npm run docs:dev

It opens on http://localhost:3100 and renders the real components of the template, so what you see in the examples is exactly what your app will render.

Troubleshooting

Port 3000 is already in use

Pass another port: npm run dev -- --port 3001.

An icon renders empty

Only the Lucide icons listed in config/lucide-icons.ts are bundled. After you use a new icon name, run npm run icons:sync (it also runs each time npm run dev starts). In development a [lucide-icons] warning in the console names the missing icon.

Types or auto-imports look out of date

Delete the generated folders and prepare the project again:

Terminal
$npx nuxi cleanup$npm run postinstall

The page flashes the wrong theme

Make sure you did not add import 'vuetify/styles' to a plugin and that you resolve the system theme only after onNuxtReady. The theme guide explains why.

© 2026 melsami UI.
Developer documentation for melsami UI.