An open API service indexing awesome lists of open source software.

https://github.com/renegadevi/nuxt-boilerplate

A ready to use Nuxt 3 boilerplate. (w/ HTTPS, Tailwind, i18n+RTL, Pinia, GDPR, Dark mode, TypeScript, Prettier, ESLint etc.)
https://github.com/renegadevi/nuxt-boilerplate

cookies-consent dark-mode gdpr i18n lighthouse nuxt prettier prettier-eslint rtl tailwindcss

Last synced: 2 months ago
JSON representation

A ready to use Nuxt 3 boilerplate. (w/ HTTPS, Tailwind, i18n+RTL, Pinia, GDPR, Dark mode, TypeScript, Prettier, ESLint etc.)

Awesome Lists containing this project

README

          

# Nuxt Boilerplate

A ready to use Nuxt 4 boilerplate

**Live Demo**: https://nuxt-boilerplate-main.vercel.app/

**StackBlitz**: https://stackblitz.com/github/renegadevi/nuxt-boilerplate

![screenshot](https://raw.githubusercontent.com/renegadevi/nuxt-boilerplate/main/.github/screenshot.png)
![lighthouse](https://raw.githubusercontent.com/renegadevi/nuxt-boilerplate/main/.github/lighthouse.png)

## Quick setup (TLDR;)

```bash
git clone https://github.com/renegadevi/nuxt-boilerplate.git
cd nuxt-boilerplate
pnpm install
pnpm run dev
```

## Setup

### Prerequisites:

- [pnpm](https://pnpm.io/)
- [mkcert](https://github.com/FiloSottile/mkcert) (Optional localhost HTTPS)

### Clone repo

```bash
git clone https://github.com/renegadevi/nuxt-boilerplate.git
cd nuxt-boilerplate
```

### Install dependencies:

```bash
pnpm install
```

### Optional: `.env`

```ini
VITE_BASE_URL="https://localhost:3000/"
```

### Optional: Generate certificate for HTTPS for localhost

```bash
# mkdir certs
cd certs
mkcert localhost
```

## Start local server

### Start development server

```bash
# HTTP
pnpm run dev
# HTTPS
pnpm run dev-https
```

### Start production build server (HTTP)

```bash
# HTTP
pnpm run build;pnpm run preview
# HTTPS
pnpm run build;pnpm run preview-https
```

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