hannoeru / vite-plugin-pages

File system based route generator for ⚡️Vite
MIT License
1.84k stars 127 forks source link

feat: add `importPath` option to specify import absolute path or relative path #493

Closed GoodbyeNJN closed 3 months ago

GoodbyeNJN commented 3 months ago

Description

See #492.

Additional context


What is the purpose of this pull request?

Before submitting the PR, please make sure you do the following

GoodbyeNJN commented 3 months ago

Paths under Windows were not handled correctly, so the test cases were updated to adapt to Windows systems.

hannoeru commented 3 months ago

@GoodbyeNJN can u update to latest main branch?

GoodbyeNJN commented 3 months ago

Done.