hannoeru / vite-plugin-pages

File system based route generator for ⚡️Vite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

path: '*'

cjcj5438 opened this issue · comments

Describe the bug

{
        path: '*', 
        element: lazyLoad(React.lazy(() => import('@/views/templatePages')))
 }

How to configure the arbitrary routing ?

Used Package Manager

pnpm

Validations

  • Follow the Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A please open a GitHub Discussion.
  • The provided reproduction is a minimal reproducible example of the bug.