Skip to content

leamsigc/nuxt-monorepo-layers

Repository files navigation

Nuxt Monorepo using Nuxt Layers

This project demonstrates how to use Nuxt Layers to build a complete monorepo architecture.

Prerequisites

The site package is the main application, that will use the other packages as dependencies

  • @local-monorepo/ui
  • @local-monorepo/content
  • @local-monorepo/auth
  • @local-monorepo/app

Setup

pnpm install

Development

# all packages
pnpm dev

# dev Mode for the site only
pnpm site dev

Production

# all packages
pnpm build

# app only
pnpm site build

Example use case:

  1. Rosa mexican Restaurant

Link Preview:

Dark mode: Preview

Light mode: Preview

Menu: Menu

Events: Events

About: Events