Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.12 breaks router base property #7544

Closed
dword-design opened this issue Jun 18, 2020 · 4 comments
Closed

2.12 breaks router base property #7544

dword-design opened this issue Jun 18, 2020 · 4 comments
Assignees

Comments

@dword-design
Copy link
Contributor

Version

v2.12.2

Reproduction link

https://github.com/dword-design/test-nuxt-router-base-path

Steps to reproduce

  1. Install nuxt@2.12
  2. Create a simple app with router.base = '/app/'
  3. Create an empty pages/index.vue file
  4. Open localhost:3000/app

What is expected ?

See an empty screen

What is actually happening?

See a page not found error

Additional comments?

Before nuxt 2.12 it's working as expected.

This bug report is available on Nuxt community (#c10786)
@ghost ghost added the cmty:bug-report label Jun 18, 2020
@pi0 pi0 self-assigned this Jun 22, 2020
@pi0
Copy link
Member

pi0 commented Jun 22, 2020

Hi. It seems regression introduced by https://github.com/nuxt/nuxt.js/pull/6775/files#diff-62fab057fc99334e174d7c4a331c0091R822 (only makes 404 happening when there is no trailing slash on router base). Trying to prepare the fix.

@pi0
Copy link
Member

pi0 commented Jun 30, 2020

Hopefully, #6745 will fix this issue as well

@daniluk4000
Copy link
Contributor

I don't see this fixed in 2.13.3

Copy link
Member

I can't replicate this in Nuxt 2.14.7, but if you are still encountering this, please do let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants