Skip to content

fareed13/nuxt-3.5.3

Repository files navigation

Nuxt 3 Minimal Starter

Look at the Nuxt 3 documentation to learn more.

Setup

Only allowed PORT is 3999 so make sure to run this project on this port:

export PORT=3999

Development Environment

set the domain as ENV VARIABLE which you want to run

export DEFAULT_PAGE_DOMAIN=lahore.abbitest1.com

Make sure to install the dependencies:

# yarn
yarn install

# npm
npm install

# pnpm
pnpm install

Development Server

Start the development server on http://localhost:3000

npm run dev

Production

Build the application for production:

npm run build

Locally preview production build:

npm run preview

Generate fully static site:

npm run generate
npx serve dist -p 3999

Run this command if you got heap out of memory exception:

export NODE_OPTIONS='--max_old_space_size=6144'

For Node=20> bug workaround, mostly happened in code pipelines i.e gitlab CI:

export NODE_OPTIONS='--no-network-family-autoselection'

For serving the project after statically generating run:

npx serve dist

Check out the deployment documentation for more information.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published