Skip to content
Snippets Groups Projects
README.md 795 B
Newer Older
MARTIN Pierre-Alexandre's avatar
MARTIN Pierre-Alexandre committed
# Nuxt Minimal Starter

Look at the [Nuxt documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.

## Setup

Make sure to install dependencies:

```bash
# npm
npm install
```

## Development Server

Be sure there are no new dependency updates:

```bash
npx npm-check-updates -u
npm install
```

MARTIN Pierre-Alexandre's avatar
MARTIN Pierre-Alexandre committed
Start the development server on `http://localhost:3000`:

```bash
# npm
npm run dev
```

## Production

Build the application for production:

```bash
# npm
npm run build
```

Locally preview production build:

```bash
# npm
npm run preview
```

With docker

```bash
docker build -t 3spa .
docker run --rm -it -p 3000:3000 --env-file .env --name 3spa 3spa
```

Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.