nuxt-monorepo

- documentation is still under WIP - build on top of nuxt, but structured to be as a monorepo, where you can re-use the same code base to reskin and serve for different branding and slight different purposes via env configuration - includes images optimiz
9,752
Install
npm install nuxt-monorepo
Latest Version:0.1.125
Vue:3
License:MIT
Last Updated:Aug 26, 2025
Links: GitLab  ·  npm
Maintainer: veehan95

Mono repo for nuxt

  • documentation is still under WIP
  • build on top of nuxt, but structured to be as a monorepo, where you can re-use the same code base to reskin and serve for different branding and slight different purposes via env configuration
  • includes images optimization (responsive screen size, webp), seo optimization, component (button, input field, dropdown, collapsable) configuration for standardization, gtm configruation, and many more
  • documentation is still under WIP

step to run

  • follow nuxt documentation
  • import img from '@_images/xxx'
    • will load optimised image data
  • import lang from '@_lang/xxx'
    • if in the .env PROJECT_LANG is configure, it will load from app/<project name>/lang/<project lang>
  • do refer to <host>/_design-system for more info

env

  • add this to .env in root
NODE_ENV=
PROJECT=
CDN=
API_BASE=
GTM_ID=

project configuration

  • can duplicate the sample into app/<poroject name> to root directory
  • all the .ts file changes here require restart of yarn dev to apply
  • WIP: better process for this part

Version History

Version Released Vue License
0.1.125 ^3.0 MIT
0.1.124 ^3.0 MIT
0.1.123 ^3.0 MIT
0.1.122 ^3.0 MIT
0.1.121 ^3.0 MIT
Pre-releases (2)
Version Released Vue License
0.0.2-alpha-1 ^3.0 MIT
0.0.2-alpha ^3.0 MIT