Look at the Nuxt 3 documentation to learn more.
Make sure to install the dependencies:
# npm
npm ci
# pnpm
pnpm install --frozen-lockfile
# yarn
yarn install --frozen-lockfile
# bun
bun install
Start the development server on http://localhost:3000
:
# npm
npm run start
npm run start
# pnpm
pnpm run dev
# yarn
yarn dev
# bun
bun run dev
Build the application for production:
# npm
npm run build-prod
# pnpm
# To build the application for production using pnpm, run the following command:
# pnpm run build
pnpm run build
# yarn
# To build the application for production using yarn, run the following command:
# yarn build
yarn build
# bun
# To build the application for production using bun, run the following command:
# bun run build
bun run build
Locally preview production build:
# npm
npm run serve
# pnpm
pnpm build
# yarn
yarn build
# bun
bun run build
Check out the deployment documentation for more information.