• Stars
    star
    125
  • Rank 286,335 (Top 6 %)
  • Language Vue
  • License
    MIT License
  • Created over 1 year ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

Nuxt Boilerplate

A ready to use Nuxt 3 boilerplate

Live Demo: https://nuxt-boilerplate.onrender.com/

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

screenshot lighthouse

Quick setup (TLDR;)

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

Setup

Prerequisites:

Clone repo

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

Install dependencies:

pnpm install

Optional: .env

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

Optional: Generate certificate for HTTPS for localhost

# mkdir certs
cd certs
mkcert localhost

Start local server

Start development server

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

Start production build server (HTTP)

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

Check out the deployment documentation for more information.

Nuxt Modules included:

Optional: Component Viewer

If you are looking for a component viewer while building and designing components, I made this extension for nuxt. Drop in the _components.vue into the Pages directory, make sure you have a blank.vue in Layouts that's just a <Slot />, and go to /_components

https://github.com/renegadevi/nuxt-component-viewer

nuxt-component-viewer