How to route to page/index.tsx when app/page.tsx has occupied the root route "/"
05:12 21 Aug 2023

I am new to Next.js, I tried an example.

The project structure is:

src
  --app
    -- page.tsx
  --components

routing localhost:3000 goes to app/page.tsx. Now I add a page folder with an index.tsx

src
  -- pages
    -- index.tsx

How would the app route to pages/index.tsx since app/page.tsx has already occupied the localhost:3000?

javascript reactjs node.js next.js