Home

Issue: 1389

router path /index throw 404 not expected to /

[issue link]

Test Data:

  1. Create the root home page component in pages folder ,named it as: index.vue

Steps:

  1. start nuxt server, then go to page : http://localhost:3000/
  2. go to page : http://localhost:3000/index

Expected result:

  1. For step2 it should render the same page content as step1, go to path /

Actual result:

  1. For step2 it will show as 404 exception:
404
This page could not be found.

URI Path: /index
Back to the home page

I don’t want to create a new folder called index at the root pages ,any help for this ?
thanks .

This question is available on Nuxt.js community (#c1232)