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
How to create nested page? #1
Comments
Could you show me the code about imports or github repository or codesanbox? I can't locate the problem. Logs from console look normal. I just saw your template file was put into public dir which will be proxyed by vite after DevServer started. It will make conflicts. If this isn't your needs, you should add The error you encountered looks like you didn't introduce any plugin to handle jsx file, if you're using react, you can try to use official plugin @vitejs/plugin-react |
@fax1ty The enrty path should start with '/', it must be an absolute path relative to the root path. I'll improve the type declarations and runtime logic about it to prevent this silly problem. For now, you can try to change your code as follows to solve the problem.
|
@fax1ty I made some changes and publish a new version 1.1.0, maybe you could have a try. |
config
The text was updated successfully, but these errors were encountered: