Skip to content

V2.14.10, statically generated router.base root path error. #8457

@CarbonPool

Description

@CarbonPool

Versions

  • nuxt: v2.14.10
  • node: v14.15.1

Reproduction

Additional Details

Steps to reproduce

this is part of my configuration:
{ ssr: false, router: { mode: "hash", base: "./" }, }

Next execute "yarn run build"

What is Expected?

The root path of the dist/index.html script should point to router.base.

What is actually happening?

Upgrade from 2.14.9 to 2.14.10, build output static website, dist/index.html script root path always points to "/".

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions