Skip to content
This repository has been archived by the owner on Jul 18, 2019. It is now read-only.

Latest commit

 

History

History
34 lines (26 loc) · 793 Bytes

README.md

File metadata and controls

34 lines (26 loc) · 793 Bytes

repro-nuxt-static-base

Minimal reproduction for "nuxt generate" issues with static assets and router base

This is a minimal demo site that is served at domain root / in dev mode but served under /demo in production mode.

Quick Start

To download this repro, install npm dependencies, create and show the dysfunctional static build, run:

npx github:Loilo/repro-nuxt-static-base

Slow Start

Clone this repo and cd to it:

git clone https://github.com/Loilo/repro-nuxt-static-base.git
cd repro-nuxt-static-base

Install npm dependencies:

npm install

For the (functional) dev experience, run

npm run dev

For the dysfunctional static site, run

npm run generate-and-serve